blob: 830ded8dc043328126b4eb68c8d12331b7ab97b7 (
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
|
# Maintainer: txtsd <aur.archlinux@ihavea.quest>
# Contributor: Donald Webster <fryfrog@gmail.com>
# Helpful url: https://prowlarr.servarr.com/v1/update/nightly?version=0.0.0.0&os=linux&runtime=netcore&arch=x64
pkgname=prowlarr-nightly-bin
pkgver=1.26.1.4838
pkgrel=4
pkgdesc='Indexer manager/proxy for usenet and torrent users (nightly builds)'
arch=(x86_64 aarch64 armv7h)
url='https://prowlarr.com'
license=('GPL-3.0-or-later')
groups=(servarr-nightly-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'
'flaresolverr: A proxy server to bypass Cloudflare protection'
'sonarr: automatically integrates with and syncs indexers'
'radarr: automatically integrates with and syncs indexers'
'lidarr: automatically integrates with and syncs indexers'
'readarr: automatically integrates with and syncs indexers'
'whisparr: automatically integrates with and syncs indexers'
'mylar3: automatically integrates with and syncs indexers'
'lazylibrarian: automatically integrates with and syncs indexers'
)
provides=(prowlarr)
conflicts=(prowlarr)
options=(!debug)
install=prowlarr.install
source=(
package_info
prowlarr.service
prowlarr.sysusers
prowlarr.tmpfiles
)
source_x86_64=("Prowlarr.nightly.${pkgver}.linux-core-x64.tar.gz::https://prowlarr.servarr.com/v1/update/nightly/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=x64")
source_aarch64=("Prowlarr.nightly.${pkgver}.linux-core-arm64.tar.gz::https://prowlarr.servarr.com/v1/update/nightly/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=arm64")
source_armv7h=("Prowlarr.nightly.${pkgver}.linux-core-arm.tar.gz::https://prowlarr.servarr.com/v1/update/nightly/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=arm")
sha256sums=('5cb90253a2c8c42a98ad8b7573d6905ad478b877dffbe50b9f7667f28cdbd806'
'8253f405c6dd1261ed321702867b08b413f8d69ef3d081949583d9106e3f812b'
'ee61f5621eae6ab932fb093a4f75a0ab11bf9e3ca829f0d34c25014f68aeff7d'
'75591d19518bafc60862c60848ecad84f92c7f2b47b2b4eeafcbbbd650a43043')
sha256sums_x86_64=('2052889e921fd96fd67a018d633a9ddaeefc2a7c7671a0fc59ce18c08f5f872a')
sha256sums_aarch64=('856de37250025a63bdb8109e0d6ab1522fe0e6b45fde5fd72b88c5b575442b9e')
sha256sums_armv7h=('9cee70fedd9c5b0c5b933ad4306d071c67781746d182336bbf6fadff5dc8a337')
package() {
install -dm755 "${pkgdir}/usr/lib/prowlarr/bin"
# License
install -Dm644 Prowlarr/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"
rm Prowlarr/LICENSE
# Remove Service Helpers, and Update files
rm Prowlarr/ServiceInstall*
rm Prowlarr/ServiceUninstall*
rm -rf Prowlarr/Prowlarr.Update
# Disable built in updater.
install -Dm644 package_info "${pkgdir}/usr/lib/prowlarr"
echo "PackageVersion=${pkgver}-${pkgrel}" >> "${pkgdir}/usr/lib/prowlarr/package_info"
cp -dpr --no-preserve=ownership Prowlarr/* "${pkgdir}/usr/lib/prowlarr/bin"
install -Dm644 prowlarr.service "${pkgdir}/usr/lib/systemd/system/prowlarr.service"
install -Dm644 prowlarr.sysusers "${pkgdir}/usr/lib/sysusers.d/prowlarr.conf"
install -Dm644 prowlarr.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/prowlarr.conf"
}
|