diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 14:42:59 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 14:42:59 (GMT) |
commit | e2fa4ac78e97238eedb771a373a1595dd3013f56 (patch) | |
tree | b19c0f0efbe5d4b724508b1ec77a226f789b8fde /abs/core/libcdaudio/PKGBUILD | |
parent | 086090b673780c3374f22766f2269ebc7521a822 (diff) | |
download | linhes_pkgbuild-e2fa4ac78e97238eedb771a373a1595dd3013f56.zip linhes_pkgbuild-e2fa4ac78e97238eedb771a373a1595dd3013f56.tar.gz linhes_pkgbuild-e2fa4ac78e97238eedb771a373a1595dd3013f56.tar.bz2 |
libcdaudio 0.99.12
Diffstat (limited to 'abs/core/libcdaudio/PKGBUILD')
-rw-r--r-- | abs/core/libcdaudio/PKGBUILD | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/abs/core/libcdaudio/PKGBUILD b/abs/core/libcdaudio/PKGBUILD index 0494dbd..2a287e5 100644 --- a/abs/core/libcdaudio/PKGBUILD +++ b/abs/core/libcdaudio/PKGBUILD @@ -1,23 +1,32 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: arjan <arjan@archlinux.org> -#contributor Sarah Hay <sarahhay@mb.sympatico.ca> +# $Id: PKGBUILD 150528 2012-02-18 12:08:44Z pierre $ +# Maintainer: +# Contributor Sarah Hay <sarahhay@mb.sympatico.ca> pkgname=libcdaudio pkgver=0.99.12 -pkgrel=3 -pkgdesc="A portable library for controlling Audio CDs and managing the transfers of information with the CDDB system." -arch=(i686 x86_64) +pkgrel=6 +pkgdesc="Library for controlling Audio CDs and interacting with CDDB" +arch=('i686' 'x86_64') url="http://libcdaudio.sourceforge.net/" license=('GPL') -depends=(glibc) -source=(http://dl.sourceforge.net/sourceforge/libcdaudio/$pkgname-${pkgver}p2.tar.gz) -md5sums=('15de3830b751818a54a42899bd3ae72c') +depends=('glibc') options=('!libtool') +source=("http://downloads.sourceforge.net/sourceforge/libcdaudio/${pkgname}-${pkgver}.tar.gz" + '01-cddb-bufferoverflow.patch' + '02-cddb-bufferoverflow.patch') +md5sums=('63b49cf14d53eed31e7a87cca17a3963' + 'f78c881b92cd7d25472daa90af284e18' + 'e36755c125d2710dc8619bb401e37444') build() { - cd $startdir/src/$pkgname-${pkgver}p2 + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/01-cddb-bufferoverflow.patch" + patch -Np1 -i "${srcdir}/02-cddb-bufferoverflow.patch" ./configure --prefix=/usr - make || return 1 - make DESTDIR=$startdir/pkg install + make } +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |