diff options
Diffstat (limited to 'abs/extra/libcdio')
-rw-r--r-- | abs/extra/libcdio/PKGBUILD | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/abs/extra/libcdio/PKGBUILD b/abs/extra/libcdio/PKGBUILD index a532e0d..803acef 100644 --- a/abs/extra/libcdio/PKGBUILD +++ b/abs/extra/libcdio/PKGBUILD @@ -1,32 +1,35 @@ -# $Id: PKGBUILD 150880 2012-02-23 13:48:06Z allan $ +# $Id$ # Maintainer: # Contributor: damir <damir@archlinux.org> pkgname=libcdio -pkgver=0.83 +pkgver=0.92 pkgrel=1 pkgdesc="GNU Compact Disc Input and Control Library" arch=('i686' 'x86_64') license=('GPL3') url="http://www.gnu.org/software/libcdio/" -depends=('libcddb' 'ncurses') -options=('!libtool') +depends=('libcddb' 'ncurses' 'gcc-libs') install=libcdio.install source=(http://ftp.gnu.org/gnu/libcdio/${pkgname}-${pkgver}.tar.gz{,.sig} libcdio-0.83-linking.patch) -md5sums=('b9e0f1bccb142e697cd834fe56b6e6fb' - 'a7864a4b572a1e2a28cc0a05aa4a67d3' +md5sums=('86f3f2869c1d34e4c6e52db77992b918' + 'SKIP' '5a7f50209c03d5919d5b932f07871af7') +prepare() { + cd ${pkgname}-${pkgver} + patch -Np1 -i ../libcdio-0.83-linking.patch +} + build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i $srcdir/libcdio-0.83-linking.patch - ./configure --prefix=/usr --disable-vcd-info --enable-cpp-progs + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr --disable-vcd-info --enable-cpp-progs --disable-static make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make -j1 DESTDIR="${pkgdir}" install sed -i "/LIBCDIO_SOURCE_PATH/s|.*|/* #undef LIBCDIO_SOURCE_PATH */|" \ |