PKGBUILDs/aur/couchpotato-git/PKGBUILD
Kevin Mihelich 7b913a6cea aur updates
2013-05-21 22:08:05 +00:00

28 lines
711 B
Bash

# Maintainer: Ben Ruijl <benruyl at gmail>
pkgname=couchpotato-git
_gitname=CouchPotatoServer
pkgver=f1dde5c
pkgrel=1
pkgdesc="Automatic Movie Downloading via NZBs & Torrent"
arch=('any')
url="http://couchpota.to/"
license=('GPL3')
depends=('python2')
makedepends=('git')
install='couchpotato.install'
source=('git://github.com/RuudBurger/CouchPotatoServer.git' 'couchpotato.service')
md5sums=('SKIP' '82813cd00a17dd78f10756d71c7eb848')
pkgver() {
cd $_gitname
git describe --always | sed 's|-|.|g'
}
package() {
mkdir -p "${pkgdir}/opt/"
cp -r "$srcdir/$_gitname" "${pkgdir}/opt/couchpotato"
install -Dm644 "${srcdir}/couchpotato.service" "${pkgdir}/usr/lib/systemd/system/couchpotato.service"
}