aur/PKGBUILD
2016-10-17 07:38:30 -04:00

22 lines
753 B
Bash

pkgname=jackett
pkgver=0.7.425
pkgrel=1
pkgdesc='Use many trackers with Sonarr'
arch=('any')
license=('GPL')
url='https://github.com/Jackett/Jackett'
depends=('mono' 'curl')
source=("Jackett.Binaries.Mono-${pkgver}.tar.gz::https://github.com/Jackett/Jackett/releases/download/v${pkgver}/Jackett.Binaries.Mono.tar.gz"
"jackett.service")
md5sums=('ef9caa6b081979073613f5de9e2266f0'
'5983ba69e0289be2c27ce9423df408ab')
install=$pkgname.install
package() {
cd "$srcdir"
install -d -m755 "${pkgdir}/opt/"
cp -dpr --no-preserve=ownership "${srcdir}/Jackett" "${pkgdir}/opt/"
install -D -m644 "${srcdir}/jackett.service" "${pkgdir}/usr/lib/systemd/system/jackett.service"
install -d -m755 "${pkgdir}/usr/share/Jackett"
}