summaryrefslogtreecommitdiff
path: root/extra/mpc/PKGBUILD
blob: 65575e75a5c86328bdcb04ac9899ce474894d611 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 132481 2011-07-24 21:57:50Z 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.21
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=('d8f88aad5fa7ed4c6e7005c5ec1ba7c5')

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" 
}