diff options
Diffstat (limited to 'extra/mpc/PKGBUILD')
-rw-r--r-- | extra/mpc/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/mpc/PKGBUILD b/extra/mpc/PKGBUILD new file mode 100644 index 000000000..6ec7c5807 --- /dev/null +++ b/extra/mpc/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 106266 2011-01-16 01:43:38Z angvp $ +# Maintainer: Angel Velasquez <angvp@archlinux.org> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Alexander Fehr <pizzapunk gmail com> +# Contributor: Link Dupont <link@subpop.net> + +pkgname=mpc +pkgver=0.20 +pkgrel=1 +pkgdesc="Minimalist command line interface to MPD" +arch=('i686' 'x86_64') +url="http://mpd.wikia.com/wiki/Client:Mpc" +license=('GPL2') +depends=('libmpdclient') +options=('!emptydirs') +source=(http://downloads.sourceforge.net/musicpd/${pkgname}-$pkgver.tar.bz2) +md5sums=('24c81ad6afe6099e8d7a6826ef4b7105') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + # Install bash completion file + install -D -m644 doc/mpc-completion.bash "$pkgdir/etc/bash_completion.d/mpc" +} |