void-packages/srcpkgs/mopidy/template

28 lines
807 B
Bash

# Template file for 'mopidy'
pkgname=mopidy
version=1.0.3
revision=1
build_style=python-module
short_desc="An extensible music server in python"
maintainer="allan <mail@may.mooo.com>"
license="Apache-2.0"
homepage="http://www.mopidy.com"
distfiles="${PYPI_SITE}/M/Mopidy/Mopidy-${version}.tar.gz"
checksum=171af12c671e5634d66e7bb21aa6b558b30b86610e312eaa81d1cff4afd13e0c
noarch=yes
pycompile_module=mopidy
hostmakedepends="python-setuptools"
depends="gst-python gst-plugins-good1 gst-plugins-ugly1 gst-plugins-bad1 python-tornado python-pykka python-setuptools"
wrksrc="Mopidy-$version"
conf_files="/etc/mopidy.conf"
system_accounts="mopidy"
mopidy_homedir="/var/lib/mopidy/"
mopidy_groups="audio"
make_dirs="/var/lib/mopidy 0755 mopidy mopidy"
post_install() {
vconf $FILESDIR/mopidy.conf
vsv mopidy
}