summaryrefslogtreecommitdiff
path: root/extra/mpc/PKGBUILD
blob: 62e0d20093d7674955dfa2f0a8f9102701245fb1 (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 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' 'mips64el')
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" 
}