aur/PKGBUILD

24 lines
756 B
Bash
Raw Normal View History

2015-06-20 03:56:05 +02:00
# Maintainer: Brandon Giesing <brandon@giesing.cf>
pkgname=jackett
2015-07-26 17:41:16 +02:00
pkgver=0.5.0
2015-07-26 18:12:28 +02:00
pkgrel=2
2015-06-20 03:56:05 +02:00
pkgdesc='User any tracker with Sonarr'
arch=('any')
license=('GPL')
url='https://github.com/zone117x/Jackett'
depends=('mono' 'curl')
2015-07-26 17:41:16 +02:00
source=('https://github.com/zone117x/Jackett/releases/download/v0.5.0/Jackett.v0.5.zip' 'jackett.service')
md5sums=('8f27f738e94c00e253a8111a370f4586'
'5983ba69e0289be2c27ce9423df408ab')
2015-06-20 03:56:05 +02:00
install=$pkgname.install
package() {
cd "$srcdir"
install -d -m755 "${pkgdir}/opt/Jackett"
2015-07-26 18:12:28 +02:00
cp -dpr --no-preserve=ownership "${srcdir}/Jackett/"* "${pkgdir}/opt/Jackett"
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"
}