mpdscribble: remove systemd build option (#1736)

This commit is contained in:
beefcurtains 2015-07-01 08:51:51 +00:00
parent 8a223e5d8e
commit d8664a4459
2 changed files with 1 additions and 15 deletions

View File

@ -1,10 +0,0 @@
[Unit]
Description=MPD Scrobbler
Requires=mpd.service
After=mpd.service
[Service]
ExecStart=/usr/bin/mpdscribble --no-daemon
[Install]
WantedBy=default.target

View File

@ -2,7 +2,7 @@
pkgname=mpdscribble
version=0.22
revision=3
revision=4
short_desc="MPD audio scrobbler (e.g. last.fm)"
homepage="http://mpd.wikia.com/wiki/Client:Mpdscribble"
license="GPL-2"
@ -13,13 +13,9 @@ checksum=1cde2b5f8c70f0e3e6f059d01bf0b0f2eac2b29fbcd14b01a8a5103e603feb41
build_style=gnu-configure
conf_files="/etc/${pkgname}.conf"
make_dirs="/var/cache/mpdscribble/ 0755 root root"
build_options="systemd"
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
}