diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/mpdscribble/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/mpdscribble/PKGBUILD')
-rw-r--r-- | community/mpdscribble/PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/community/mpdscribble/PKGBUILD b/community/mpdscribble/PKGBUILD new file mode 100644 index 000000000..254c0ac05 --- /dev/null +++ b/community/mpdscribble/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: evr <evanroman at gmail> +# Contributor: Luiz Ribeiro <luizribeiro@gmail.com> + +pkgname=mpdscribble +pkgver=0.21 +pkgrel=4 +pkgdesc='An mpd client which submits track info to last.fm' +url='http://mpd.wikia.com/wiki/Client:Mpdscribble' +arch=('i686' 'x86_64') +license=('GPL') +depends=('libsoup' 'glib2' 'libmpdclient') +install="${pkgname}.install" +source=("http://downloads.sourceforge.net/musicpd/mpdscribble-${pkgver}.tar.bz2" + 'mpdscribble') +md5sums=('3dc96f9179b8d7efd02cbbceb345e529' + 'f54c937c7b3ab8e4d39e4b903c2993fc') + +build() { + cd ${pkgname}-${pkgver} + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --with-http-client=soup + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install + + install -D ${srcdir}/mpdscribble \ + ${pkgdir}/etc/rc.d/mpdscribble + + # default config is really an example + install -m644 ${pkgdir}/etc/mpdscribble.conf \ + ${pkgdir}/etc/mpdscribble.conf.example + rm -f ${pkgdir}/etc/mpdscribble.conf + + install -d ${pkgdir}/var/cache/mpdscribble + touch ${pkgdir}/var/cache/mpdscribble/mpdscribble.cache +} |