aur/PKGBUILD

30 lines
1.2 KiB
Bash
Raw Normal View History

2015-06-20 03:56:05 +02:00
pkgname=jackett
2019-02-22 22:52:12 +01:00
pkgver=0.10.814
2018-03-21 21:04:40 +01:00
pkgrel=1
pkgdesc='Use many torrent trackers with software that supports torznab/potato feeds.'
2015-06-20 03:56:05 +02:00
arch=('any')
license=('GPL')
url='https://github.com/Jackett/Jackett'
2015-06-20 03:56:05 +02:00
depends=('mono' 'curl')
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"
"jackett.service"
2018-03-16 17:08:48 +01:00
"jackett.sysusers"
2018-03-19 05:28:53 +01:00
"jackett.tmpfiles")
2019-02-22 22:52:12 +01:00
sha256sums=('8d9e15ccff610d1bc8708a4b1d6fcd5745476010e93dcc132564d152d3328184'
'75837fe04f5afd30cdbdd3349bb27b43994dc672202f886382903f7fbc92dc89'
2018-03-16 17:08:48 +01:00
'd005fcd009ec5404e1ec88246c31e664167f5551d6cabc35f68eb41750bfe590'
2018-05-15 19:20:52 +02:00
'64022e15565a609f449090f02d53ee90ef95cffec52ae14f99e4e2132b6cffe1')
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
}