aur/PKGBUILD

41 lines
1.9 KiB
Bash
Raw Normal View History

2019-09-03 23:35:29 +02:00
# Maintainer: Donald Webster <fryfrog@gmail.com>
2015-06-20 03:56:05 +02:00
pkgname=jackett
2020-03-26 23:21:44 +01:00
pkgver=0.14.287
2019-03-22 08:13:25 +01:00
pkgrel=1
pkgdesc='Use many torrent trackers with software that supports torznab/potato feeds.'
2019-03-21 18:02:05 +01:00
arch=('x86_64' 'aarch64' 'armv7h')
2015-06-20 03:56:05 +02:00
license=('GPL')
url='https://github.com/Jackett/Jackett'
2019-03-21 21:59:53 +01:00
depends=('curl' 'openssl-1.0')
2019-03-21 18:02:05 +01:00
options=('!strip' 'staticlibs')
install='jackett.install'
2019-03-21 18:02:05 +01:00
source=("jackett.service"
2018-03-16 17:08:48 +01:00
"jackett.sysusers"
2018-03-19 05:28:53 +01:00
"jackett.tmpfiles")
2019-03-21 18:02:05 +01: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 17:08:48 +01:00
'd005fcd009ec5404e1ec88246c31e664167f5551d6cabc35f68eb41750bfe590'
2018-05-15 19:20:52 +02:00
'64022e15565a609f449090f02d53ee90ef95cffec52ae14f99e4e2132b6cffe1')
2020-03-26 23:21:44 +01:00
sha256sums_x86_64=('40f6e8f6832bde707fff94df882efcf0add791e3f577e7b36c4746406b4346af')
sha256sums_aarch64=('e53e3a54c84199b9a324509d3f33c71428ad7e6d00228715374eaf703bcbbe18')
sha256sums_armv7h=('cbf760819975fd892beb29e1103b9e25ae31f15549cdf7833b2ca4805ed00ef1')
2019-03-21 18:02:05 +01:00
2015-06-20 03:56:05 +02:00
package() {
cd "$srcdir"
2018-03-16 17:08:48 +01:00
install -d -m 755 "${pkgdir}/usr/lib/jackett/"
cp -dpr --no-preserve=ownership "${srcdir}/Jackett/"* "${pkgdir}/usr/lib/jackett/"
2018-03-16 17:08:48 +01:00
install -D -m 644 "${srcdir}/jackett.service" "${pkgdir}/usr/lib/systemd/system/jackett.service"
2018-03-21 21:01:06 +01: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-20 03:56:05 +02:00
}