blob: fe22dcb7a38a08d033daae274c0b29f6b17eee67 (
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
|
# Maintainer: Donald Webster <fryfrog@gmail.com>
# Helpful url: https://whisparr.servarr.com/v1/update/nightly?version=0.0.0.0&os=linux&runtime=netcore&arch=x64
pkgname="whisparr-nightly"
pkgver=2.0.0.548
pkgrel=1
pkgdesc="Porn download automation for usenet and torrents."
arch=('x86_64' 'aarch64' 'armv7h')
url="https://github.com/Whisparr/Whisparr"
license=('GPL3')
options=('!strip' 'staticlibs')
depends=('sqlite')
optdepends=('sabnzbd: usenet downloader'
'nzbget: usenet downloader'
'qbittorrent: torrent downloader'
'deluge: torrent downloader'
'rtorrent: torrent downloader'
'transmission: torrent downloader'
'jackett: torrent indexer proxy'
'libgdiplus: provides a gdi+ compatible api')
provides=('whisparr')
conflicts=('whisparr')
source_x86_64=("Whisparr.nightly.${pkgver}.linux-core-x64.tar.gz::https://whisparr.servarr.com/v1/update/nightly/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=x64")
source_aarch64=("Whisparr.nightly.${pkgver}.linux-core-arm64.tar.gz::https://whisparr.servarr.com/v1/update/nightly/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=arm64")
source_armv7h=("Whisparr.nightly.${pkgver}.linux-core-arm.tar.gz::https://whisparr.servarr.com/v1/update/nightly/updatefile?version=${pkgver}&os=linux&runtime=netcore&arch=arm")
source=('whisparr.service'
'whisparr.tmpfiles'
'whisparr.sysusers'
'package_info')
sha512sums=('2a62e72c5c9c28356c07ed22f2e2fc138f321adf285bd194f1471d359acbc73429abb875ddbdd469227d05348e4f1f7cb1ee269211a52d1081f0d2f4b636c664'
'86bf3eeed370680eae5ccad9be0caa1fa271461daca0d36c99b6b1a11a4e57a507e664e48ac27c454dea891db04a09766c76899169c335aa386ee90972cd6108'
'f938315fb803eb25fdf68cc9fbf6cda91589d20e0f41cafb5d6bb319a7642385a183b030e529ca194bac0e7f0ebb6aa992bd5ae18ec802ae6246dfe6cfcfc99d'
'd63e53264055e7281a0befaa9165f7651ecc2cf105787cc47b551ad4d412dfaa90c03a75d20108e87e0b4975655941a2823aaf22c50083e2250a2cb0a5db0491')
sha512sums_x86_64=('d1037b9a8604451e29d53fe014e2092f8463a86bad30fba9cfc521a4542bb165fe7151b5e25a24d51a1b3758bd6b4e59a82e3c29ad09ad1d83bec8c5a127d7e3')
sha512sums_aarch64=('005637258da0edd74b74268887fed5d8f18f25fd9a757997c74065cd65db9b823d9d68c6c386ad13e27af375f9975b1bed9f891dfcdb8d33cfd24b2ae281edfb')
sha512sums_armv7h=('5175f97d7e6d376423e2dab9335461e338c546a0ad81c3e937ad7fe2b9bbdadfe1ac80d3efe13cbfb2afc49b368ec86c11930b6af965de19fc885e56b51d8030')
package() {
rm -rf "${srcdir}/Whisparr/Whisparr.Update"
install -d -m 755 "${pkgdir}/usr/lib/whisparr/bin"
cp -dpr --no-preserve=ownership "${srcdir}/Whisparr/"* "${pkgdir}/usr/lib/whisparr/bin"
chmod -R a=,a+rX,u+w "${pkgdir}/usr/lib/whisparr/bin"
chmod +x "${pkgdir}/usr/lib/whisparr/bin/Whisparr" "${pkgdir}/usr/lib/whisparr/bin/ffprobe"
# Disable built in updater.
install -D -m 644 "${srcdir}/package_info" "${pkgdir}/usr/lib/whisparr"
echo "PackageVersion=${pkgver}-${pkgrel}" >> "${pkgdir}/usr/lib/whisparr/package_info"
install -D -m 644 "${srcdir}/whisparr.service" "${pkgdir}/usr/lib/systemd/system/whisparr.service"
install -D -m 644 "${srcdir}/whisparr.sysusers" "${pkgdir}/usr/lib/sysusers.d/whisparr.conf"
install -D -m 644 "${srcdir}/whisparr.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/whisparr.conf"
}
|