void-packages/srcpkgs/mpdscribble/template

25 lines
736 B
Text
Raw Normal View History

2014-12-11 14:30:19 +00:00
# Template file for 'mpdscribble'
pkgname=mpdscribble
version=0.22
2014-12-11 17:18:21 +00:00
revision=2
2014-12-11 14:30:19 +00:00
short_desc="MPD audio scrobbler (e.g. last.fm)"
homepage="http://mpd.wikia.com/wiki/Client:Mpdscribble"
license="GPL-2"
maintainer="Georg Schabel <gescha@posteo.de>"
distfiles="http://www.musicpd.org/download/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
checksum=1cde2b5f8c70f0e3e6f059d01bf0b0f2eac2b29fbcd14b01a8a5103e603feb41
build_style=gnu-configure
2014-12-11 17:18:21 +00:00
conf_files="/etc/${pkgname}.conf"
2014-12-11 16:42:49 +00:00
build_options="systemd"
2014-12-11 14:30:19 +00:00
hostmakedepends="pkg-config"
makedepends="libmpdclient-devel glib-devel libcurl-devel"
post_install() {
vsv mpdscribble
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/mpdscribble.service 644 usr/lib/systemd/system
fi
}