summaryrefslogtreecommitdiffstats
path: root/main/libmpdclient/APKBUILD
blob: 6c7fcd387c0c8bd8fde94ecb7d23e99d17368f89 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmpdclient
pkgver=2.5
pkgrel=0
pkgdesc="An asynchronous API library for interfacing MPD in the C, C++ & Objective C languages"
url="http://mpd.wikia.com/wiki/Client:libmpdclient"
arch="all"
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
	rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="c1e359de6fbee3dc052deaeed05350db  libmpdclient-2.5.tar.bz2"