aur/PKGBUILD
2017-02-27 11:33:31 -05:00

22 lines
754 B
Bash

pkgname=jackett
pkgver=0.7.1084
pkgrel=3
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=('aafb95d5ff6d60970fa4dc23ea59a4e6'
'1c3c0b8c8114d121060eacea251eaf28')
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"
}