summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/mpc/PKGBUILD
blob: 345a2d6400eed4c676ac1579d68561baaeb33dae (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
# $Id: PKGBUILD 33671 2009-04-04 15:49:53Z alexanderf $
# Maintainer: Alexander Fehr <pizzapunk gmail com>
# Contributor: Link Dupont <link@subpop.net>

pkgname=mpc
pkgver=0.15
pkgrel=1
pkgdesc="Minimalist command line interface to MPD"
arch=('i686' 'x86_64')
url="http://mpd.wikia.com/wiki/Client:Mpc"
license=('GPL2')
depends=('glibc')
options=('!emptydirs')
source=(http://downloads.sourceforge.net/musicpd/mpc-$pkgver.tar.bz2)
md5sums=('48897aeb3a7ee5c64f30e56789f105a8')

build() {
  cd "$srcdir/mpc-$pkgver"

  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR="$pkgdir" install || return 1

  # Install bash completion file
  install -D -m644 doc/mpc-bashrc "$pkgdir/etc/bash_completion.d/mpc" || return 1
}