aboutsummaryrefslogtreecommitdiffstats
path: root/main/mpc/APKBUILD
blob: e7fbf1422b68ca2b92cd0cb25e53839c053b809c (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mpc
pkgver=0.26
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://www.musicpd.org/download/mpc/${pkgver%.*}/mpc-${pkgver}.tar.xz"

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

package() {
	cd "$srcdir"/mpc-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="d4f37e7e6b32c804a870192d1eb86199  mpc-0.26.tar.xz"
sha256sums="20735f7173cce56bec50c1d8b4633751052dc68365b29a6113206dc1cdc6e242  mpc-0.26.tar.xz"
sha512sums="099d4970418fa848290864ff475801cc9e0aada3f8c11809a0254b9645229d1564e58b746e7e6a327860df72e4d645de06eb7aa9b3cc5f3b7a42331c4aa7192e  mpc-0.26.tar.xz"