summaryrefslogtreecommitdiff
path: root/extra/mpc/PKGBUILD
blob: 0344dec0767e4d18b46f5bf25acc3e85e282e977 (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 154004 2012-03-21 10:52:38Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: 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.22
pkgrel=2.1
pkgdesc='Minimalist command line interface to MPD'
url='http://mpd.wikia.com/wiki/Client:Mpc'
license=('GPL2')
arch=('i686' 'x86_64' 'mips64el')
options=('!emptydirs')
depends=('libmpdclient')
source=("http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.gz")
sha1sums=('e35414c1f5b25f4e500ceae125adb5bb9063b029')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	./configure --prefix=/usr 
	make 
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install 
	install -Dm644 doc/mpc-completion.bash "${pkgdir}/usr/share/bash-completion/completions/mpc" 
}