39 lines
1.8 KiB
Bash
39 lines
1.8 KiB
Bash
# Maintainer: Donald Webster <fryfrog@gmail.com>
|
|
|
|
pkgname=jackett
|
|
pkgver=0.16.987
|
|
pkgrel=1
|
|
pkgdesc='Use many torrent trackers with software that supports torznab/potato feeds.'
|
|
arch=('x86_64' 'aarch64' 'armv7h')
|
|
license=('GPL')
|
|
url='https://github.com/Jackett/Jackett'
|
|
depends=('curl' 'openssl-1.0')
|
|
options=('!strip' 'staticlibs')
|
|
|
|
source=("jackett.service"
|
|
"jackett.sysusers"
|
|
"jackett.tmpfiles")
|
|
|
|
source_x86_64=("Jackett.Binaries.LinuxAMDx64-${pkgver}.tar.gz::https://github.com/Jackett/Jackett/releases/download/v${pkgver}/Jackett.Binaries.LinuxAMDx64.tar.gz")
|
|
source_aarch64=("Jackett.Binaries.LinuxARM64-${pkgver}.tar.gz::https://github.com/Jackett/Jackett/releases/download/v${pkgver}/Jackett.Binaries.LinuxARM64.tar.gz")
|
|
source_armv7h=("Jackett.Binaries.LinuxARM32-${pkgver}.tar.gz::https://github.com/Jackett/Jackett/releases/download/v${pkgver}/Jackett.Binaries.LinuxARM32.tar.gz")
|
|
|
|
sha256sums=('9d8f9d73e5fa2b2877dde010c0d8ca6fbf47f03eb1f01b02f846026a949a0dcf'
|
|
'd005fcd009ec5404e1ec88246c31e664167f5551d6cabc35f68eb41750bfe590'
|
|
'64022e15565a609f449090f02d53ee90ef95cffec52ae14f99e4e2132b6cffe1')
|
|
sha256sums_x86_64=('2671c9d5968d2b1d9285692c352fb7a7fec773b1eb584f9156a310baeaa751b7')
|
|
sha256sums_aarch64=('b6c62bec914fda51581d45ea707a8b3e9d497cbbfedb11aadd8ec9e37393e9da')
|
|
sha256sums_armv7h=('a02d5e9c0b4e0c5d2483886d3baafb81f2300482909d1f2188ab0f52d8480bab')
|
|
|
|
|
|
|
|
package() {
|
|
cd "$srcdir"
|
|
|
|
install -d -m 755 "${pkgdir}/usr/lib/jackett/"
|
|
cp -dpr --no-preserve=ownership "${srcdir}/Jackett/"* "${pkgdir}/usr/lib/jackett/"
|
|
|
|
install -D -m 644 "${srcdir}/jackett.service" "${pkgdir}/usr/lib/systemd/system/jackett.service"
|
|
install -D -m 644 "${srcdir}/jackett.sysusers" "${pkgdir}/usr/lib/sysusers.d/jackett.conf"
|
|
install -D -m 644 "${srcdir}/jackett.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/jackett.conf"
|
|
}
|