updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / mpc-dev / PKGBUILD
blobddbd7fd96a2d98cd9bba7fded2d6a99858abeffa
1 pkgname=mpc-dev
2 pkgver=0.18
3 pkgrel=1
4 pkgdesc="Minimalist command line interface to MPD"
5 arch=('i686' 'x86_64')
6 conflicts=('mpc')
7 provides=('mpc')
8 url="http://mpd.wikia.com/wiki/Client:Mpc"
9 license=('GPL2')
10 depends=('glibc' 'libmpdclient-dev>=2.0')
11 options=('!emptydirs')
12 source=(http://downloads.sourceforge.net/musicpd/mpc-$pkgver.tar.bz2)
13 md5sums=('26baf07c4076f6c39bbe97311fc8ec86')
15 build() {
16   cd "$srcdir/mpc-$pkgver"
18   ./configure --prefix=/usr || return 1
19   make || return 1
20   make DESTDIR="$pkgdir" install || return 1
22   # Install bash completion file
23   install -D -m644 doc/mpc-bashrc "$pkgdir/etc/bash_completion.d/mpc" || 
24 return 1