diff options
Diffstat (limited to 'extra/libdiscid')
-rw-r--r-- | extra/libdiscid/PKGBUILD | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/extra/libdiscid/PKGBUILD b/extra/libdiscid/PKGBUILD index cd9c4ec4e..1878f8445 100644 --- a/extra/libdiscid/PKGBUILD +++ b/extra/libdiscid/PKGBUILD @@ -1,26 +1,31 @@ -# $Id$ +# $Id: PKGBUILD 174288 2013-01-03 23:42:31Z eric $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Eric Gillingham <sysrq@sysrq.tk> pkgname=libdiscid -pkgver=0.2.2 -pkgrel=2 -arch=('i686' 'x86_64') -license=('GPL') +pkgver=0.3.0 +pkgrel=1 pkgdesc="A Library for creating MusicBrainz DiscIDs" +arch=('i686' 'x86_64') url="http://musicbrainz.org/doc/libdiscid" +license=('LGPL') depends=('glibc') -source=("http://users.musicbrainz.org/~matt/${pkgname}-${pkgver}.tar.gz") -md5sums=('ee21ddbe696a3c60e14827a75f3bcf5b') options=('!libtool') +source=("http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/${pkgname}-${pkgver}.tar.gz") +md5sums=('17e51260062b7583e5981c82cf618127') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr make } +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + package() { - cd ${srcdir}/${pkgname}-${pkgver} - make prefix=${pkgdir}/usr install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } |