diff options
author | Skrtansh Rajput | 2021-04-30 12:49:04 -0500 |
---|---|---|
committer | Skrtansh Rajput | 2021-04-30 12:49:04 -0500 |
commit | 91919ad52f2c5452d758e4d0bac6fb250eefbbfb (patch) | |
tree | 53d09522653c0cd324e073278cb8d8a7f394a1a4 /update.sh | |
parent | c1a43f87706901e84a7a6168fdd6967d7b80debd (diff) | |
download | aur-91919ad52f2c5452d758e4d0bac6fb250eefbbfb.tar.gz |
updated hashes
installs binaries in proper location
points .service file to correct location
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/update.sh b/update.sh index 713b347e3428..c6d30e431d2c 100755 --- a/update.sh +++ b/update.sh @@ -36,31 +36,34 @@ depends=('glibc' 'ffmpeg') source_x86_64=('https://github.com/navidrome/navidrome/releases/download/v$1/navidrome_$1_Linux_x86_64.tar.gz' 'navidrome.service' 'navidrome.toml' + 'navidrome.sysusers' ) source_armv6h=('https://github.com/navidrome/navidrome/releases/download/v$1/navidrome_$1_Linux_armv6.tar.gz' 'navidrome.service' 'navidrome.toml' + 'navidrome.sysusers' ) source_armv7h=('https://github.com/navidrome/navidrome/releases/download/v$1/navidrome_$1_Linux_armv7.tar.gz' 'navidrome.service' 'navidrome.toml' + 'navidrome.sysusers' ) source_aarch64=('https://github.com/navidrome/navidrome/releases/download/v$1/navidrome_$1_Linux_arm64.tar.gz' 'navidrome.service' 'navidrome.toml' + 'navidrome.sysusers' ) -md5sums=() -md5sums_x86_64=() -md5sums_armv6h=() -md5sums_armv7h=() -md5sums_aarch64=() +sha512sums_x86_64=() +sha512sums_armv6h=() +sha512sums_armv7h=() +sha512sums_aarch64=() package() { - install -d -o navidrome -g navidrome \"\${pkgdir}/usr/bin/${EXECUTABLE_NAME}\" install -d -o navidrome -g navidrome \"\${pkgdir}/var/lib/${EXECUTABLE_NAME}\" - install -Dm 755 \"\${srcdir}/navidrome\" \"\${pkgdir}/usr/bin/${EXECUTABLE_NAME}\" + install -Dm 755 \"\${srcdir}/navidrome\" -t \"\${pkgdir}/usr/bin/\" install -Dm 644 \"\${srcdir}/navidrome.service\" -t \"\${pkgdir}/usr/lib/systemd/system\" install -Dm 644 \"\${srcdir}/navidrome.toml\" -t \"\${pkgdir}/var/lib/${EXECUTABLE_NAME}\" + install -Dm 644 \"\${srcdir}/navidrome.sysusers\" \"\${pkgdir}/usr/lib/sysusers.d/navidrome.conf\" } " >> PKGBUILD |