blob: 0de114b7660bd292b8e0e676cf89681ea169621e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
# Maintainer: txtsd <aur.archlinux@ihavea.quest>
# Maintainer: Donald Webster <fryfrog@gmail.com>
# Helpful URL: https://services.lidarr.audio/v1/update/develop?version=0.0.0.0&os=linux&runtime=netcore&arch=x64
pkgname=lidarr-develop-bin
pkgver=2.8.2.4493
pkgrel=1
pkgdesc='Music collection manager for newsgroup and torrent users (develop branch)'
arch=(x86_64 aarch64 armv7h)
url='https://lidarr.audio'
license=('GPL-3.0-or-later')
groups=(servarr-develop-bin)
depends=(
gcc-libs
glibc
sqlite
zlib
)
optdepends=(
'postgresql: postgresql database'
'sabnzbd: usenet downloader'
'nzbget: usenet downloader'
'qbittorrent: torrent downloader'
'deluge: torrent downloader'
'rtorrent: torrent downloader'
'nodejs-flood: torrent downloader'
'vuze: torrent downloader'
'aria2: torrent downloader'
'transmission-cli: torrent downloader (CLI and daemon)'
'transmission-gtk: torrent downloader (GTK+)'
'transmission-qt: torrent downloader (Qt)'
'jackett: torrent indexer proxy'
'nzbhydra2: torznab and usenet indexer proxy'
'prowlarr: torrent and usenet indexer proxy'
'autobrr: irc, torrent and usenet indexer proxy'
)
provides=(lidarr)
conflicts=(lidarr)
options=(!debug)
install=lidarr.install
source=(
lidarr.service
lidarr.sysusers
lidarr.tmpfiles
package_info
)
source_x86_64=("Lidarr.develop.${pkgver}.linux-core-x64.tar.gz::https://lidarr.servarr.com/v1/update/develop/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=x64")
source_aarch64=("Lidarr.develop.${pkgver}.linux-core-arm64.tar.gz::https://lidarr.servarr.com/v1/update/develop/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=arm64")
source_armv7h=("Lidarr.develop.${pkgver}.linux-core-arm.tar.gz::https://lidarr.servarr.com/v1/update/develop/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=arm")
sha256sums=('48f4cc5040b1a51e624f5be4977078b77bf7f87b9c1fb7fa34e844da4c831401'
'85098d47734e8087480f8a29eafec50faa453487221ef01173888155d2b06e42'
'd71e37213ac65722e42f6f2c5772d4515c2d28a77b9f7608dc05c787d86ebaa5'
'1d246459491c9e2c9b21f61ec039f0ed4268ef467285cf806080e3f82c4c7077')
sha256sums_x86_64=('ead4694d274a56a3eba6682db6a4cd7c71b9ede1afb09cd34c52c78fc96f7a9c')
sha256sums_aarch64=('edca4137fedf4e5d259cb729669895abd43bf3c02f426f46f8c4e58bbb7940c1')
sha256sums_armv7h=('eda76812df3a7995a2fc7a807731a208b487d5f59d1c615d4f1682149364e9c7')
package() {
install -dm755 "${pkgdir}/usr/lib/lidarr/bin"
# License
install -Dm644 Lidarr/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}"
rm Lidarr/LICENSE.md
# Remove Service Helpers, and Update files
rm Lidarr/ServiceInstall*
rm Lidarr/ServiceUninstall*
rm -rf Lidarr/Lidarr.Update
# Disable built in updater.
install -Dm644 package_info "${pkgdir}/usr/lib/lidarr"
echo "PackageVersion=${pkgver}-${pkgrel}" >> "${pkgdir}/usr/lib/lidarr/package_info"
# Copy Lidarr
cp -dr Lidarr/* "${pkgdir}/usr/lib/lidarr/bin"
# Systemd
install -Dm644 lidarr.service "${pkgdir}/usr/lib/systemd/system/lidarr.service"
install -Dm644 lidarr.sysusers "${pkgdir}/usr/lib/sysusers.d/lidarr.conf"
install -Dm644 lidarr.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/lidarr.conf"
}
|