aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmpdclient/APKBUILD
blob: 533796e98a1b116051cc2099a1c90bf3e724deda (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.7
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="053a97f1b045646d2d01a68fb2ddb5ef  libmpdclient-2.7.tar.bz2"