2011-02-28 03:00:10 +00:00
|
|
|
# Maintainer: Ben Ruijl <benruyl at gmail>
|
|
|
|
|
|
|
|
pkgname=couchpotato-git
|
2013-05-21 22:08:05 +00:00
|
|
|
_gitname=CouchPotatoServer
|
2013-09-24 21:08:22 +00:00
|
|
|
pkgver=2358.324415b
|
2011-02-28 03:00:10 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Automatic Movie Downloading via NZBs & Torrent"
|
2013-05-21 22:08:05 +00:00
|
|
|
arch=('any')
|
2012-10-13 22:26:49 +00:00
|
|
|
url="http://couchpota.to/"
|
2013-05-21 22:08:05 +00:00
|
|
|
license=('GPL3')
|
2011-02-28 03:00:10 +00:00
|
|
|
depends=('python2')
|
|
|
|
makedepends=('git')
|
|
|
|
install='couchpotato.install'
|
2013-05-21 22:08:05 +00:00
|
|
|
source=('git://github.com/RuudBurger/CouchPotatoServer.git' 'couchpotato.service')
|
|
|
|
md5sums=('SKIP' '82813cd00a17dd78f10756d71c7eb848')
|
2011-02-28 03:00:10 +00:00
|
|
|
|
2013-05-21 22:08:05 +00:00
|
|
|
pkgver() {
|
|
|
|
cd $_gitname
|
2013-09-24 21:08:22 +00:00
|
|
|
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
2013-05-21 22:08:05 +00:00
|
|
|
}
|
2011-02-28 03:00:10 +00:00
|
|
|
|
2013-04-08 18:02:45 +00:00
|
|
|
package() {
|
2013-05-21 22:08:05 +00:00
|
|
|
mkdir -p "${pkgdir}/opt/"
|
|
|
|
cp -r "$srcdir/$_gitname" "${pkgdir}/opt/couchpotato"
|
2011-02-28 03:00:10 +00:00
|
|
|
|
2013-05-21 22:08:05 +00:00
|
|
|
install -Dm644 "${srcdir}/couchpotato.service" "${pkgdir}/usr/lib/systemd/system/couchpotato.service"
|
2011-02-28 03:00:10 +00:00
|
|
|
}
|