2015-06-20 03:56:05 +02:00
|
|
|
pkgname=jackett
|
2018-03-13 21:44:03 +01:00
|
|
|
pkgver=0.8.749
|
2018-03-13 21:51:10 +01:00
|
|
|
pkgrel=2
|
2018-03-13 23:03:44 +01:00
|
|
|
pkgdesc='Use many torrent trackers with software that supports torznab/potato feeds.'
|
2015-06-20 03:56:05 +02:00
|
|
|
arch=('any')
|
|
|
|
license=('GPL')
|
2015-11-11 15:21:26 +01:00
|
|
|
url='https://github.com/Jackett/Jackett'
|
2015-06-20 03:56:05 +02:00
|
|
|
depends=('mono' 'curl')
|
2018-03-13 23:03:44 +01:00
|
|
|
install='jackett.install'
|
2016-08-08 15:44:13 +02:00
|
|
|
source=("Jackett.Binaries.Mono-${pkgver}.tar.gz::https://github.com/Jackett/Jackett/releases/download/v${pkgver}/Jackett.Binaries.Mono.tar.gz"
|
2018-03-13 21:51:10 +01:00
|
|
|
"jackett.service"
|
|
|
|
"jackett.sysusers")
|
|
|
|
|
|
|
|
sha256sums=('ef27eeb95249c33ab5e4f12c103e872aa9944a842748ced62bc81a4dad2a3055'
|
2018-03-13 23:03:44 +01:00
|
|
|
'7d5396611df22b5a7605dda533ab876cd6647272eb56ad9d22e2f9b2b6fdff6a'
|
|
|
|
'd005fcd009ec5404e1ec88246c31e664167f5551d6cabc35f68eb41750bfe590')
|
2015-06-20 03:56:05 +02:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir"
|
|
|
|
|
2018-03-13 23:03:44 +01:00
|
|
|
install -d -m755 "${pkgdir}/usr/lib/jackett/"
|
|
|
|
cp -dpr --no-preserve=ownership "${srcdir}/Jackett/"* "${pkgdir}/usr/lib/jackett/"
|
|
|
|
|
|
|
|
install -d -m755 "${pkgdir}/var/lib/jackett"
|
|
|
|
|
2015-06-20 03:56:05 +02:00
|
|
|
install -D -m644 "${srcdir}/jackett.service" "${pkgdir}/usr/lib/systemd/system/jackett.service"
|
2018-03-13 23:03:44 +01:00
|
|
|
install -D -m644 "$srcdir/jackett.sysusers" "$pkgdir/usr/lib/sysusers.d/jackett.conf"
|
2018-03-13 21:51:10 +01:00
|
|
|
|
2018-03-13 23:03:44 +01:00
|
|
|
msg2 "Configs copied from /usr/share/Jackett/.config/Jackett -> /var/lib/jackett/."
|
|
|
|
msg2 "After confirming, rm -rf /opt/Jackett /usr/share/Jackett."
|
2015-06-20 03:56:05 +02:00
|
|
|
}
|