diff options
Diffstat (limited to 'abs/extra/libmpdclient/PKGBUILD')
-rw-r--r-- | abs/extra/libmpdclient/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/extra/libmpdclient/PKGBUILD b/abs/extra/libmpdclient/PKGBUILD new file mode 100644 index 0000000..148b952 --- /dev/null +++ b/abs/extra/libmpdclient/PKGBUILD @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bisson@archlinux.org> +# Contributor: Andrea Scarpino <andrea@archlinux.org> + +pkgname=libmpdclient +pkgver=2.9 +pkgrel=1 +pkgdesc='Asynchronous API library for interfacing MPD in the C, C++ & Objective C languages' +url='http://www.musicpd.org/libs/libmpdclient/' +license=('custom:BSD') +arch=('i686' 'x86_64') +source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz") +sha1sums=('1a3557d4d1f78085db6285a8c8cb9085c300d9d3') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --disable-documentation + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + cd "${pkgdir}" + install -d usr/share/licenses/libmpdclient + ln -s ../../doc/libmpdclient/COPYING usr/share/licenses/libmpdclient/COPYING +} |