# Template build file for 'couchpotato'.
pkgname=couchpotato
version=3.0.1
revision=1
depends="python"
short_desc="Usenet PVR for movies"
maintainer="Ananteris <ananteris@mailinator.com>"
system_accounts="couchpotato"
couchpotato_homedir="/var/lib/couchpotato"
distfiles="https://github.com/RuudBurger/CouchPotatoServer/archive/build/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=f08f9c6ac02f66c6667f17ded1eea4c051a62bbcbadd2a8673394019878e92f7
make_dirs="
 /var/lib/couchpotato 0755 couchpotato couchpotato"
homepage="http://couchpota.to"
license="GPL-3"
wrksrc="CouchPotatoServer-build-${version}"
noarch="yes"
pycompile_dirs="/usr/share/${pkgname}"

do_install() {
	vmkdir usr/share/couchpotato
	mv * ${DESTDIR}/usr/share/couchpotato
	vsv couchpotato
}
