blob: 9ad7d9036944db2db478518d2792761561cc19c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Justin Dray <justin@dray.be>
pkgname=sickrage
pkgver=4.0.47
pkgrel=1
pkgdesc="A PVR application that downloads and manages your TV shows. Echel0n fork of sickbeard, with tvrage and torrents support."
arch=('any')
url="https://github.com/SiCKRAGETV/SickRage"
license=('GPL3')
depends=('python2' 'python2-cheetah')
optdepends=('sabnzbd: NZB downloader'
'python2-notify: desktop notifications'
'unrar: automatic decompression'
'git: pull new versions from git')
provides=('sickbeard-tvrage-git')
conflicts=('sickbeard' 'sickbeard-piratebay-git' 'sickbeard-tvrage-git' 'sickrage-git')
replaces=('sickbeard-tvrage-git')
options=('!strip')
install='sickrage.install'
source=("https://github.com/SiCKRAGETV/SickRage/archive/v${pkgver}.tar.gz"
'sickrage-system.service'
'sickrage-user.service'
'sickrage.tmpfile')
sha256sums=('c05e4987879777214de767e0aae41ead88645c745594b136136410514cf567f3'
'468b04a3d143980c51bc5705237caff7fdd180c772081e4289ee69dd3aeb14f9'
'c78db64732dc5f725868aea3e84f5ecc0fefef8fe7b5cbd419811929d0602714'
'7fbf425e4ef14345e9a91c098c6f1a9cb6ddaed2617b04160a47d35747083565')
package() {
mkdir -p "$pkgdir/opt/sickrage"
chmod 775 "$pkgdir/opt/sickrage"
cp -r SickRage-${pkgver}/* "$pkgdir/opt/sickrage"
install -D -m644 sickrage-system.service "$pkgdir/usr/lib/systemd/system/sickrage.service"
install -D -m644 sickrage-user.service "$pkgdir/usr/lib/systemd/user/sickrage.service"
install -D -m644 sickrage.tmpfile "$pkgdir/usr/lib/tmpfiles.d/sickrage.conf"
find "$pkgdir" -type d -name '.git' -exec rm -r '{}' +
}
# vim: set ts=2 sw=2 ft=sh noet:
|