aboutsummaryrefslogtreecommitdiffstats
path: root/main/mpc/APKBUILD
blob: 79384659b2107d9904c8fbb57e49b7f25b9f7060 (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.21
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="d8f88aad5fa7ed4c6e7005c5ec1ba7c5  mpc-0.21.tar.bz2"