Merge pull request #707 from tonkazoid/master
New package: mpdscribble-0.22
This commit is contained in:
commit
0b88d74155
3 changed files with 35 additions and 0 deletions
10
srcpkgs/mpdscribble/files/mpdscribble.service
Normal file
10
srcpkgs/mpdscribble/files/mpdscribble.service
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=MPD Scrobbler
|
||||||
|
Requires=mpd.service
|
||||||
|
After=mpd.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/mpdscribble --no-daemon
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
2
srcpkgs/mpdscribble/files/mpdscribble/run
Executable file
2
srcpkgs/mpdscribble/files/mpdscribble/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec mpdscribble --no-daemon
|
23
srcpkgs/mpdscribble/template
Normal file
23
srcpkgs/mpdscribble/template
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Template file for 'mpdscribble'
|
||||||
|
|
||||||
|
pkgname=mpdscribble
|
||||||
|
version=0.22
|
||||||
|
revision=1
|
||||||
|
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
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue