aur/PKGBUILD

39 lines
1.8 KiB
Text
Raw Normal View History

2015-06-19 20:56:05 -05:00
pkgname=jackett
pkgver=0.11.409
2019-03-22 00:13:25 -07:00
pkgrel=1
pkgdesc='Use many torrent trackers with software that supports torznab/potato feeds.'
2019-03-21 10:02:05 -07:00
arch=('x86_64' 'aarch64' 'armv7h')
2015-06-19 20:56:05 -05:00
license=('GPL')
url='https://github.com/Jackett/Jackett'
2019-03-21 13:59:53 -07:00
depends=('curl' 'openssl-1.0')
2019-03-21 10:02:05 -07:00
options=('!strip' 'staticlibs')
install='jackett.install'
2019-03-21 10:02:05 -07:00
source=("jackett.service"
2018-03-16 09:08:48 -07:00
"jackett.sysusers"
2018-03-18 21:28:53 -07:00
"jackett.tmpfiles")
2019-03-21 10:02:05 -07:00
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'
2018-03-16 09:08:48 -07:00
'd005fcd009ec5404e1ec88246c31e664167f5551d6cabc35f68eb41750bfe590'
2018-05-15 10:20:52 -07:00
'64022e15565a609f449090f02d53ee90ef95cffec52ae14f99e4e2132b6cffe1')
sha256sums_x86_64=('5813881935018997dba9c1c7741ae7dc4f27f3aa1658f2b46245731d1d3f2f65')
sha256sums_aarch64=('a1e504a37859165f96b0e90e386a3c545dc62194a367e117074dcff04187563d')
sha256sums_armv7h=('6b30542b55c1bc7c364ee852b3c543465f7e5a7ccf42acf55d8f295398973c5f')
2019-03-21 10:02:05 -07:00
2015-06-19 20:56:05 -05:00
package() {
cd "$srcdir"
2018-03-16 09:08:48 -07:00
install -d -m 755 "${pkgdir}/usr/lib/jackett/"
cp -dpr --no-preserve=ownership "${srcdir}/Jackett/"* "${pkgdir}/usr/lib/jackett/"
2018-03-16 09:08:48 -07:00
install -D -m 644 "${srcdir}/jackett.service" "${pkgdir}/usr/lib/systemd/system/jackett.service"
2018-03-21 16:01:06 -04:00
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"
2015-06-19 20:56:05 -05:00
}