diff options
author | James Meyer <jams@linhes.org> | 2010-12-22 19:54:09 (GMT) |
---|---|---|
committer | James Meyer <jams@linhes.org> | 2010-12-22 19:54:09 (GMT) |
commit | f11f722e4d91aca54bd4b7b04330201a0787e3df (patch) | |
tree | 952050d92b790dde5f5dd619cf7bd8808492f437 /abs/extra/mpc | |
parent | 51d7490509b3908658953e62c5c16c26370f495c (diff) | |
download | linhes_pkgbuild-f11f722e4d91aca54bd4b7b04330201a0787e3df.zip linhes_pkgbuild-f11f722e4d91aca54bd4b7b04330201a0787e3df.tar.gz linhes_pkgbuild-f11f722e4d91aca54bd4b7b04330201a0787e3df.tar.bz2 |
mpd/mpc/libmpdclient: add mpd and simple client
refs:#741
Diffstat (limited to 'abs/extra/mpc')
-rw-r--r-- | abs/extra/mpc/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/extra/mpc/PKGBUILD b/abs/extra/mpc/PKGBUILD new file mode 100644 index 0000000..deb999e --- /dev/null +++ b/abs/extra/mpc/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 63171 2010-01-15 15:11:21Z giovanni $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Alexander Fehr <pizzapunk gmail com> +# Contributor: Link Dupont <link@subpop.net> + +pkgname=mpc +pkgver=0.19 +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=('9ab2967d9ec719b06a86f3b4121be654') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + + # Install bash completion file + install -D -m644 doc/mpc-completion.bash "$pkgdir/etc/bash_completion.d/mpc" || return 1 +} |