summaryrefslogtreecommitdiffstats
path: root/main/libmpdclient/APKBUILD
blob: 81f413e2d428e609fef255f8bb436c4f3f95844a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmpdclient
pkgver=2.1
pkgrel=1
pkgdesc="An asynchronous API library for interfacing MPD in the C, C++ & Objective C languages"
url="http://mpd.wikia.com/wiki/Client:libmpdclient"
license="GPL2"
depends=
makedepends=
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/musicpd/$pkgname-$pkgver.tar.bz2"

build() { 
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="67efa0c3d107c090ef277dfb3442d1e3  libmpdclient-2.1.tar.bz2"