void-packages/srcpkgs/couchpotato/template

25 lines
772 B
Bash

# Template file for 'couchpotato'
pkgname=couchpotato
version=3.0.1
revision=2
archs=noarch
wrksrc="CouchPotatoServer-build-${version}"
pycompile_dirs="/usr/share/couchpotato"
make_dirs="
/var/lib/couchpotato 0755 couchpotato couchpotato"
depends="python"
short_desc="Usenet PVR for movies"
maintainer="Ananteris <ananteris@mailinator.com>"
license="GPL-3.0-or-later"
homepage="http://couchpota.to"
distfiles="https://github.com/RuudBurger/CouchPotatoServer/archive/build/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=f08f9c6ac02f66c6667f17ded1eea4c051a62bbcbadd2a8673394019878e92f7
couchpotato_homedir="/var/lib/couchpotato"
system_accounts="couchpotato"
do_install() {
vmkdir usr/share/couchpotato
mv * ${DESTDIR}/usr/share/couchpotato
vsv couchpotato
}