Date: Wednesday, July 20, 2011 @ 01:23:24 Author: bisson Revision: 132090
upstream update, fix license, disable static Modified: libmpdclient/trunk/PKGBUILD ----------+ PKGBUILD | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-07-20 00:52:02 UTC (rev 132089) +++ PKGBUILD 2011-07-20 05:23:24 UTC (rev 132090) @@ -1,25 +1,29 @@ # $Id: PKGBUILD 50625 2009-08-30 03:02:23Z allan $ -# Maintainer: Andrea Scarpino <[email protected]> +# Contributor: Andrea Scarpino <[email protected]> +# Maintainer: Gaetan Bisson <[email protected]> pkgname=libmpdclient -pkgver=2.4 +pkgver=2.5 pkgrel=1 -pkgdesc='An asynchronous API library for interfacing MPD in the C, C++ & Objective C languages' +pkgdesc='Asynchronous API library for interfacing MPD in the C, C++ & Objective C languages' arch=('i686' 'x86_64') url='http://mpd.wikia.com/wiki/ClientLib:libmpdclient' -license=('GPL2') -depends=('glibc') +license=('custom') options=('!libtool') -source=("http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.bz2") -sha1sums=('fe240e56eb5cae082ea4894a810c1fdadc3d03a1') +source=("http://downloads.sourceforge.net/project/musicpd/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha1sums=('a2e68352f2b7d55787d14a45ee0d902f2427b3dc') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr + ./configure --prefix=/usr --disable-static 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 }
