summaryrefslogtreecommitdiffstats
path: root/main/mpc/APKBUILD
blob: 47c61aa164c4d908a930730fd5e9751b7ab29549 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mpc
pkgver=0.23
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.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="2b2c093e80b37fc5717caf319986c52b  mpc-0.23.tar.bz2"
sha256sums="29bab8f3018507c761eabcd9bb86856b3c3436f3ee1ba0456b0e17fc1c3729c7  mpc-0.23.tar.bz2"
sha512sums="b08ae42a44e614f8dfe026736a5f5e35b07b84883e187efd398a97d81c661886f58acc6aa9f7054d6c3f9376fd0bceaf9708b53feda3544177b90900ef6b6d33  mpc-0.23.tar.bz2"