aboutsummaryrefslogtreecommitdiffstats
path: root/main/mpc/APKBUILD
blob: 9822493eda9c76c209caec5c4b113a5c358e87c8 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mpc
pkgver=0.22
pkgrel=0
pkgdesc="Minimalist command line interface to MPD"
url="http://mpd.wikia.com/wiki/Client:Mpc"
arch="all"
license="GPL2"
subpackages="$pkgname-doc"
depends=
makedepends="libmpdclient-dev"
source="http://downloads.sourceforge.net/project/musicpd/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$srcdir"/mpc-$pkgver
	./configure --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$srcdir"/mpc-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="6a84bba413084c9ef453f4ba8d252ef6  mpc-0.22.tar.bz2"