summaryrefslogtreecommitdiffstats
path: root/main/mpc/APKBUILD
blob: ecde1c5d0ed5f58550a737b7013115f1686c0889 (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.25
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="76aec8e973e3c6c131e9e9f2ad8f34c3  mpc-0.25.tar.xz"
sha256sums="70cfa4f734a275a3c76df481ec5222872362ed8f58a4175459cae65d66acaf24  mpc-0.25.tar.xz"
sha512sums="7752dd35027b6075d96a27808556af8b2b6e1ac5bb8069515f5baadf25ff31d46409749163634c668da132428b9686ba01a04051f4d41d4cd5e782e57a07b2cb  mpc-0.25.tar.xz"