summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 19 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 88c309fe560..bba74c663e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=sheepit-client-git
pkgver=6.2020.0
-pkgrel=2
+pkgrel=3
pkgdesc="Client for the free and distributed render farm"
arch=('i686' 'x86_64')
url="https://www.sheepit-renderfarm.com/"
@@ -15,32 +15,35 @@ provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
backup=('etc/conf.d/sheepit-client')
source=('git://github.com/laurent-clouet/sheepit-client.git#branch=master'
- 'sheepit-client.sh'
- 'sheepit-client.sysusers'
- 'sheepit-client.conf'
- 'sheepit-client.service')
+ "${pkgname%-git}.conf"
+ "${pkgname%-git}.service"
+ "${pkgname%-git}.sh"
+ "${pkgname%-git}.sysusers"
+ "${pkgname%-git}.tmpfiles")
sha256sums=('SKIP'
- '7e6b48f67f35556aaef7823d5e84b6841c46003b65b9a8c373d1cd14343068a4'
+ '69220c93518e1bbd034feded5c5deb4e29e21340151d51096adf269d9ec641af'
+ '4181b60d36dda17a6d93698166e46e54049d14490993912eb4b31fa833711ee2'
+ '18c3c158263861bca6f61204741f7c7c9ea8201b99ec711bc60d096598f4e8ed'
'2ec4f41f996f149102403a0376da75bf6545a80883c595232aa27eedc2eb9803'
- '19924349046bc2801ed8532f37d388d6e0317cb5e46b7c13acb5c3069193177d'
- '22c9a9461a56e37971a8662308448188164f70caac7e328fc4c7c78a91772af4')
+ 'ba7e49757345d04ae42a8a86fcee3ff53eb9fc86ef8a5b3db8895b5e4b42440a')
pkgver() {
- cd "$srcdir/${pkgname%-git}"
+ cd "${srcdir}/${pkgname%-git}"
printf "%sr%s.%s" "$(git describe --tags --abbrev=0)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd "$srcdir/sheepit-client"
+ cd "${srcdir}/${pkgname%-git}"
gradle shadowJar
}
package() {
- install -Dm644 "${srcdir}/sheepit-client/build/libs/sheepit-client.jar" "${pkgdir}/usr/share/java/sheepit-client/sheepit-client.jar"
- install -Dm755 "${srcdir}/sheepit-client.sh" "${pkgdir}/usr/bin/sheepit-client"
- install -Dm644 "${srcdir}/sheepit-client.sysusers" "${pkgdir}/usr/lib/sysusers.d/sheepit-client.conf"
- install -Dm644 "${srcdir}/sheepit-client.conf" "${pkgdir}/etc/conf.d/sheepit-client"
- install -Dm644 "${srcdir}/sheepit-client.service" "${pkgdir}/usr/lib/systemd/system/sheepit-client.service"
+ cd "$srcdir"
+ install -Dm644 "${pkgname%-git}/build/libs/${pkgname%-git}.jar" "${pkgdir}/usr/share/java/${pkgname%-git}/${pkgname%-git}.jar"
+ install -Dm755 "${pkgname%-git}.sh" "${pkgdir}/usr/bin/${pkgname%-git}"
+ install -Dm644 "${pkgname%-git}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname%-git}.conf"
+ install -Dm644 "${pkgname%-git}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname%-git}.conf"
+ install -Dm644 "${pkgname%-git}.conf" "${pkgdir}/etc/conf.d/${pkgname%-git}"
+ install -Dm644 "${pkgname%-git}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname%-git}.service"
}
-