summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/mpc/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-06-22 22:49:15 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-06-22 22:49:15 (GMT)
commitcb3979cd33a441ea393fd26664de7497688420d1 (patch)
tree65817f5b8186c88ce0f85ad38fc63ef4cf92bb56 /abs/extra-testing/community/mpc/PKGBUILD
parent40028bbf0a90a78413b39dc6da4190de9cf3821d (diff)
downloadlinhes_pkgbuild-cb3979cd33a441ea393fd26664de7497688420d1.zip
linhes_pkgbuild-cb3979cd33a441ea393fd26664de7497688420d1.tar.gz
linhes_pkgbuild-cb3979cd33a441ea393fd26664de7497688420d1.tar.bz2
mpd & mpc: add them to community
Diffstat (limited to 'abs/extra-testing/community/mpc/PKGBUILD')
-rw-r--r--abs/extra-testing/community/mpc/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/extra-testing/community/mpc/PKGBUILD b/abs/extra-testing/community/mpc/PKGBUILD
new file mode 100644
index 0000000..345a2d6
--- /dev/null
+++ b/abs/extra-testing/community/mpc/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 33671 2009-04-04 15:49:53Z alexanderf $
+# Maintainer: Alexander Fehr <pizzapunk gmail com>
+# Contributor: Link Dupont <link@subpop.net>
+
+pkgname=mpc
+pkgver=0.15
+pkgrel=1
+pkgdesc="Minimalist command line interface to MPD"
+arch=('i686' 'x86_64')
+url="http://mpd.wikia.com/wiki/Client:Mpc"
+license=('GPL2')
+depends=('glibc')
+options=('!emptydirs')
+source=(http://downloads.sourceforge.net/musicpd/mpc-$pkgver.tar.bz2)
+md5sums=('48897aeb3a7ee5c64f30e56789f105a8')
+
+build() {
+ cd "$srcdir/mpc-$pkgver"
+
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+
+ # Install bash completion file
+ install -D -m644 doc/mpc-bashrc "$pkgdir/etc/bash_completion.d/mpc" || return 1
+}