aboutsummaryrefslogtreecommitdiffstats
path: root/main/mpc/APKBUILD
blob: 13de645e0b93897bac5d4d4f32fdc2b90f7713fc (plain) (blame)
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.27
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="d9430db9b9d7fb1eadbe4d13e8d97c66  mpc-0.27.tar.xz"
sha256sums="45a2be0a6dea65ed43f631294c24e74b83c8ee66d1ba6ab47d0744ddb1e62064  mpc-0.27.tar.xz"
sha512sums="f73550004697c6d4ae44f25c82a9e4477fa878accb8725f58b74b2785c02b175a35e675c5484c58766e9032fe19beabd35a64c57cd1afd81478619d2f51916d4  mpc-0.27.tar.xz"