aur/PKGBUILD

23 lines
754 B
Bash
Raw Normal View History

2015-06-20 03:56:05 +02:00
pkgname=jackett
2016-08-20 18:55:51 +02:00
pkgver=0.7.320
2015-10-20 20:31:15 +02:00
pkgrel=1
2016-08-08 15:44:13 +02:00
pkgdesc='Use many trackers with Sonarr'
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')
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")
2016-08-20 18:55:51 +02:00
md5sums=('05bdae08fd70029881fa1e020f02650f'
2015-07-26 17:41:16 +02:00
'5983ba69e0289be2c27ce9423df408ab')
2015-06-20 03:56:05 +02:00
install=$pkgname.install
package() {
cd "$srcdir"
install -d -m755 "${pkgdir}/opt/"
cp -dpr --no-preserve=ownership "${srcdir}/Jackett"* "${pkgdir}/opt/"
2015-06-20 03:56:05 +02:00
install -D -m644 "${srcdir}/jackett.service" "${pkgdir}/usr/lib/systemd/system/jackett.service"
install -d -m755 "${pkgdir}/usr/share/Jackett"
}