diff options
author | Donald Webster | 2021-02-11 22:48:46 -0800 |
---|---|---|
committer | Donald Webster | 2021-02-11 22:49:10 -0800 |
commit | d67bacaa84622c08908bb334665210c241c890b9 (patch) | |
tree | 4ffe3dc704ee5dfbd08a41e22cbca95161829f58 | |
parent | 499de9caf50371354e893c9f4f51f99b67993d58 (diff) | |
download | aur-d67bacaa84622c08908bb334665210c241c890b9.tar.gz |
Update to v0.8.0.2042.
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 40 | ||||
-rw-r--r-- | lidarr.service | 7 | ||||
-rw-r--r-- | lidarr.tmpfiles | 1 | ||||
-rw-r--r-- | package_info | 5 |
5 files changed, 42 insertions, 34 deletions
@@ -1,6 +1,6 @@ pkgbase = lidarr-develop - pkgdesc = Music downloader for usenet and torrents. - pkgver = 0.7.1.1712 + pkgdesc = Music download automation for usenet and torrents. + pkgver = 0.8.0.2042 pkgrel = 1 url = https://github.com/lidarr/Lidarr arch = x86_64 @@ -22,20 +22,23 @@ pkgbase = lidarr-develop optdepends = libgdiplus: provides a gdi+ compatible api provides = lidarr conflicts = lidarr + conflicts = lidarr-nightly options = !strip options = staticlibs source = lidarr.service source = lidarr.tmpfiles source = lidarr.sysusers - sha512sums = 11bd4fc0021f813477f199d649f9cc98605d0538b9fc2cc4484e43ae84d924c24105436fc7b601d6b4fe516279b77e6b8bc8c7077fb3a3560b4bf1503018aee9 - sha512sums = e40ce79a3e1741e7e06312797e652a85d199bd6d719ef953ea8c3c030756ee44e202956ac9e13cff17fac38312c27398f457f79923a7d0f56bd563a69af6ab63 + source = package_info + sha512sums = f867a24ff5d817167d639778d2bd93e375ff66e60017818649c083ca135820e918934bd4ec7473fead40db699e990914d1d3e736f59591b56d5578c121007e95 + sha512sums = 3800547b7c3d2b6e0a590ebd2db5ed48a6c31249098a4c36876faca36dd81e84ac45f3679d16bfe101be594dc6d5d0cfc91bfc66ed8cba35ec05f22027ab2441 sha512sums = ffd466960527256d8de1d9887d90d4da87486eff062950c46cbc4fd4af1ef89e7d5c070ef1e649b23a95fbab15651e289fd5bdc6d34649e4a6ecdf2f6da06622 - source_x86_64 = Lidarr.develop.0.7.1.1712.linux-core-x64.tar.gz::https://services.lidarr.audio/v1/update/nightly/updatefile?version=0.7.1.1712&os=linux&runtime=netcore&arch=x64 - sha512sums_x86_64 = d76d14aa0545bdf320eb74b5569847fa9f7e1dfaf655ddf855bfe9fd9cdc328a5dfad054e54204f048d0100be673300c4704167aec16a7fc24921557b899f62f - source_aarch64 = Lidarr.develop.0.7.1.1712.linux-core-arm64.tar.gz::https://services.lidarr.audio/v1/update/nightly/updatefile?version=0.7.1.1712&os=linux&runtime=netcore&arch=arm64 - sha512sums_aarch64 = b2680ffbddef4a6db78274acbd73452af31a1ad85276256cb5fd56293cc85e89076cf59d1ef06cffa5affde5b06aff67bc2dac562bc8936d6dfa8f6f3a65fe32 - source_armv7h = Lidarr.develop.0.7.1.1712.linux-core-arm.tar.gz::https://services.lidarr.audio/v1/update/nightly/updatefile?version=0.7.1.1712&os=linux&runtime=netcore&arch=arm - sha512sums_armv7h = 0aa63b480f8acd19e80734a40aa1a4a456f8bf16d4fb24098eafe23de5d98da144d5998820b8921430e175b51b875a4f99e20afed62eb6333ffe32ba0c38a45d + sha512sums = c9bd8707cceed880ecebd974f0c5db0801cfafd714bf939e9c688212e4b092cc9e6452c899ae30d8d5c5acc9a4e41c9fa0f1e5c1daef7cdb0bd5d66c6be0eb4a + source_x86_64 = lidarr-0.8.0.2042-linux-core-x64.tar.gz::https://services.lidarr.audio/v1/update/nightly/updatefile?version=0.8.0.2042&os=linux&runtime=netcore&arch=x64 + sha512sums_x86_64 = dfdc02f59f3bf63221e111c473054c165571e65c5f142b2daac230f0104655db8b60c56b36b77cddcb6be11fe4708f58ea0508ed57421ea6c6e64d2f5c662bbe + source_aarch64 = lidarr-0.8.0.2042-linux-core-arm64.tar.gz::https://services.lidarr.audio/v1/update/nightly/updatefile?version=0.8.0.2042&os=linux&runtime=netcore&arch=arm64 + sha512sums_aarch64 = 2aa51ea9c39b087ea208f5b0ecf215cb84d08de893e49ca2a00a926574401953e45acced4f8c807ac1bef6bec921d549d724c78e249625867a54114ee8daabe4 + source_armv7h = lidarr-0.8.0.2042-linux-core-arm.tar.gz::https://services.lidarr.audio/v1/update/nightly/updatefile?version=0.8.0.2042&os=linux&runtime=netcore&arch=arm + sha512sums_armv7h = ee060a617239d1f249dccf5cd1c228b53fc57c48e6f3339a462c1172ba0b7045db851cb1faec70d042742980e0184d37e065903e2505d9a9604979d3e5905005 pkgname = lidarr-develop @@ -2,9 +2,9 @@ # Helpful url: https://services.lidarr.audio/v1/update/nightly?version=0.0.0.0&os=linux&runtime=netcore&arch=x64 pkgname="lidarr-develop" -pkgver=0.7.1.1712 +pkgver=0.8.0.2042 pkgrel=1 -pkgdesc="Music downloader for usenet and torrents." +pkgdesc="Music download automation for usenet and torrents." arch=('x86_64' 'aarch64' 'armv7h') url="https://github.com/lidarr/Lidarr" license=("GPL3") @@ -23,22 +23,24 @@ optdepends=('sabnzbd: usenet downloader' 'libgdiplus: provides a gdi+ compatible api') provides=('lidarr') -conflicts=('lidarr') +conflicts=('lidarr' 'lidarr-nightly') -source_x86_64=("Lidarr.develop.${pkgver}.linux-core-x64.tar.gz::https://services.lidarr.audio/v1/update/nightly/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=x64") -source_aarch64=("Lidarr.develop.${pkgver}.linux-core-arm64.tar.gz::https://services.lidarr.audio/v1/update/nightly/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=arm64") -source_armv7h=("Lidarr.develop.${pkgver}.linux-core-arm.tar.gz::https://services.lidarr.audio/v1/update/nightly/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=arm") +source_x86_64=("lidarr-${pkgver}-linux-core-x64.tar.gz::https://services.lidarr.audio/v1/update/nightly/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=x64") +source_aarch64=("lidarr-${pkgver}-linux-core-arm64.tar.gz::https://services.lidarr.audio/v1/update/nightly/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=arm64") +source_armv7h=("lidarr-${pkgver}-linux-core-arm.tar.gz::https://services.lidarr.audio/v1/update/nightly/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=arm") source=('lidarr.service' 'lidarr.tmpfiles' - 'lidarr.sysusers') + 'lidarr.sysusers' + 'package_info') -sha512sums=('11bd4fc0021f813477f199d649f9cc98605d0538b9fc2cc4484e43ae84d924c24105436fc7b601d6b4fe516279b77e6b8bc8c7077fb3a3560b4bf1503018aee9' - 'e40ce79a3e1741e7e06312797e652a85d199bd6d719ef953ea8c3c030756ee44e202956ac9e13cff17fac38312c27398f457f79923a7d0f56bd563a69af6ab63' - 'ffd466960527256d8de1d9887d90d4da87486eff062950c46cbc4fd4af1ef89e7d5c070ef1e649b23a95fbab15651e289fd5bdc6d34649e4a6ecdf2f6da06622') -sha512sums_x86_64=('d76d14aa0545bdf320eb74b5569847fa9f7e1dfaf655ddf855bfe9fd9cdc328a5dfad054e54204f048d0100be673300c4704167aec16a7fc24921557b899f62f') -sha512sums_aarch64=('b2680ffbddef4a6db78274acbd73452af31a1ad85276256cb5fd56293cc85e89076cf59d1ef06cffa5affde5b06aff67bc2dac562bc8936d6dfa8f6f3a65fe32') -sha512sums_armv7h=('0aa63b480f8acd19e80734a40aa1a4a456f8bf16d4fb24098eafe23de5d98da144d5998820b8921430e175b51b875a4f99e20afed62eb6333ffe32ba0c38a45d') +sha512sums=('f867a24ff5d817167d639778d2bd93e375ff66e60017818649c083ca135820e918934bd4ec7473fead40db699e990914d1d3e736f59591b56d5578c121007e95' + '3800547b7c3d2b6e0a590ebd2db5ed48a6c31249098a4c36876faca36dd81e84ac45f3679d16bfe101be594dc6d5d0cfc91bfc66ed8cba35ec05f22027ab2441' + 'ffd466960527256d8de1d9887d90d4da87486eff062950c46cbc4fd4af1ef89e7d5c070ef1e649b23a95fbab15651e289fd5bdc6d34649e4a6ecdf2f6da06622' + 'c9bd8707cceed880ecebd974f0c5db0801cfafd714bf939e9c688212e4b092cc9e6452c899ae30d8d5c5acc9a4e41c9fa0f1e5c1daef7cdb0bd5d66c6be0eb4a') +sha512sums_x86_64=('dfdc02f59f3bf63221e111c473054c165571e65c5f142b2daac230f0104655db8b60c56b36b77cddcb6be11fe4708f58ea0508ed57421ea6c6e64d2f5c662bbe') +sha512sums_aarch64=('2aa51ea9c39b087ea208f5b0ecf215cb84d08de893e49ca2a00a926574401953e45acced4f8c807ac1bef6bec921d549d724c78e249625867a54114ee8daabe4') +sha512sums_armv7h=('ee060a617239d1f249dccf5cd1c228b53fc57c48e6f3339a462c1172ba0b7045db851cb1faec70d042742980e0184d37e065903e2505d9a9604979d3e5905005') @@ -49,10 +51,14 @@ package() { # The fpcalc binary comes from chromaprint. rm -rf "${srcdir}/Lidarr/fpcalc" - install -d -m 755 "${pkgdir}/usr/lib/lidarr" - cp -dpr --no-preserve=ownership "${srcdir}/Lidarr/"* "${pkgdir}/usr/lib/lidarr" - chmod -R a=,a+rX,u+w "${pkgdir}/usr/lib/lidarr/" - chmod +x "${pkgdir}/usr/lib/lidarr/Lidarr" + install -d -m 755 "${pkgdir}/usr/lib/lidarr/bin" + cp -dpr --no-preserve=ownership "${srcdir}/Lidarr/"* "${pkgdir}/usr/lib/lidarr/bin" + chmod -R a=,a+rX,u+w "${pkgdir}/usr/lib/lidarr/bin" + chmod +x "${pkgdir}/usr/lib/lidarr/bin/Lidarr" + + # Disable built in updater. + install -D -m 644 "${srcdir}/package_info" "${pkgdir}/usr/lib/lidarr" + echo "PackageVersion=${pkgver}-${pkgrel}" >> "${pkgdir}/usr/lib/lidarr/package_info" install -D -m 644 "${srcdir}/lidarr.service" "${pkgdir}/usr/lib/systemd/system/lidarr.service" install -D -m 644 "${srcdir}/lidarr.sysusers" "${pkgdir}/usr/lib/sysusers.d/lidarr.conf" diff --git a/lidarr.service b/lidarr.service index 62fdf880f1f2..002edf55eceb 100644 --- a/lidarr.service +++ b/lidarr.service @@ -5,13 +5,8 @@ After=syslog.target network.target [Service] User=lidarr Group=lidarr -ExecStart=/usr/lib/lidarr/Lidarr -nobrowser -data=/var/lib/lidarr +ExecStart=/usr/lib/lidarr/bin/Lidarr -nobrowser -data=/var/lib/lidarr Type=simple -TimeoutStopSec=20 - -# Lets built in updater work well. -Restart=on-failure -KillMode=process [Install] WantedBy=multi-user.target diff --git a/lidarr.tmpfiles b/lidarr.tmpfiles index e7e97ffb2916..12fd588fee22 100644 --- a/lidarr.tmpfiles +++ b/lidarr.tmpfiles @@ -1,5 +1,4 @@ # Override this file with a modified version in /etc/tmpfiles.d/ d /var/lib/lidarr 0755 lidarr lidarr Z /var/lib/lidarr - lidarr lidarr -Z /usr/lib/lidarr - lidarr lidarr L /var/log/lidarr - - - - /var/lib/lidarr/logs diff --git a/package_info b/package_info new file mode 100644 index 000000000000..68e520efa1a1 --- /dev/null +++ b/package_info @@ -0,0 +1,5 @@ +# PackageVersion is added by PKGBUILD +PackageAuthor=[lidarr-nightly](https://aur.archlinux.org/packages/lidarr-nightly/) +UpdateMethod=External +UpdateMethodMessage=flag [lidarr-nightly](https://aur.archlinux.org/packages/lidarr-nightly/) [out-of-date](https://aur.archlinux.org/pkgbase/lidarr-nightly/flag/), use an [aur helper](https://wiki.archlinux.org/index.php/AUR_helpers) or the [manual method](https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages) to update. +Branch=nightly |