summaryrefslogtreecommitdiffstats
path: root/abs/core/libcdaudio/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libcdaudio/PKGBUILD')
-rw-r--r--abs/core/libcdaudio/PKGBUILD33
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
+}