diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-11-20 19:51:35 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-11-20 19:51:35 (GMT) |
commit | 7955f87d5071c8214df29b4773291bc2fb40e5a9 (patch) | |
tree | 4f6a3622eef345dd2b2a429483b0963334e18c5d /abs/extra/libmpdclient/PKGBUILD | |
parent | 271efacb485f105f67d830ad6d6e950ea197f78f (diff) | |
download | linhes_pkgbuild-7955f87d5071c8214df29b4773291bc2fb40e5a9.zip linhes_pkgbuild-7955f87d5071c8214df29b4773291bc2fb40e5a9.tar.gz linhes_pkgbuild-7955f87d5071c8214df29b4773291bc2fb40e5a9.tar.bz2 |
libmpdclient: initial inclusion. dep of mpd. refs #980
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 +} |