blob: 7b82bb8e4052202b5d46ff22731ce8bae57f7b91 (
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
82
83
84
85
86
|
# Maintainer: txtsd <aur.archlinux@ihavea.quest>
# Maintainer: Donald Webster <fryfrog@gmail.com>
# Helpful URL: https://radarr.servarr.com/v1/update/nightly?version=0.0.0.0&os=linux&runtime=netcore&arch=x64
pkgname=radarr-nightly-bin
pkgver=5.16.0.9479
pkgrel=1
pkgdesc='Movie organizer/manager for usenet and torrent users (nightly builds)'
arch=(x86_64 aarch64 armv7h)
url='https://radarr.video'
license=('GPL-3.0-or-later')
groups=(servarr-nightly-bin)
depends=(
ffmpeg
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=(radarr)
conflicts=(radarr)
options=(!debug)
install=radarr.install
source=(
package_info
radarr.install
radarr.service
radarr.sysusers
radarr.tmpfiles
)
source_x86_64=("Radarr.nightly.${pkgver}.linux-core-x64.tar.gz::https://radarr.servarr.com/v1/update/nightly/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=x64")
source_aarch64=("Radarr.nightly.${pkgver}.linux-core-arm64.tar.gz::https://radarr.servarr.com/v1/update/nightly/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=arm64")
source_armv7h=("Radarr.nightly.${pkgver}.linux-core-arm.tar.gz::https://radarr.servarr.com/v1/update/nightly/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=arm")
sha256sums=('e7d22110337234a9d5ce1ea0f65d0dcd7c76e339c61da77c33b80218638d5c3a'
'243ded7d0e9d59b9adf912bb4e35ba63247d85577b417b54dcd74f16f0cfbd26'
'8ca13537e98380b91f1a950187d6b9f021f8a4d68871f709444742a4911bc5a6'
'bb73e0c55711d7ddbf74140b3beb39cb8674ae92be8387c3dd8109bcd53faca8'
'c68efcb3778cb497d7c256dc97df7413ce09f07ea341e4d2683e7fee321cbcbb')
sha256sums_x86_64=('1f5577df33b03e1881a16b2ab0435b0afbe755ec9a9d0623ee618b535b16a3d2')
sha256sums_aarch64=('4a315edc40631cfeb2508c166ff718fedcdaa791afd030832304772caa42e47f')
sha256sums_armv7h=('74e3c04e3d61d46fca6c4ad8c381653c2c90ba9fcbc0628ab2ee93545ab2c938')
package() {
install -dm755 "${pkgdir}/usr/lib/radarr/bin"
# License
install -Dm644 Radarr/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"
rm Radarr/LICENSE
# Remove ffprobe, Service Helpers, and Update files
rm Radarr/ffprobe
rm Radarr/ServiceInstall*
rm Radarr/ServiceUninstall*
rm -rf Radarr/Radarr.Update
# Use system ffprobe
ln -s /usr/bin/ffprobe "${pkgdir}/usr/lib/radarr/bin/ffprobe"
# Disable built in updater.
install -Dm644 package_info "${pkgdir}/usr/lib/radarr"
echo "PackageVersion=${pkgver}-${pkgrel}" >> "${pkgdir}/usr/lib/radarr/package_info"
cp -dpr --no-preserve=ownership Radarr/* "${pkgdir}/usr/lib/radarr/bin"
install -Dm644 radarr.service "${pkgdir}/usr/lib/systemd/system/radarr.service"
install -Dm644 radarr.sysusers "${pkgdir}/usr/lib/sysusers.d/radarr.conf"
install -Dm644 radarr.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/radarr.conf"
}
|