From f4e0d41bdfa80b65960c85d4d526814a91f52e62 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Mon, 20 Jan 2014 03:40:05 +0000 Subject: Mon Jan 20 03:36:38 UTC 2014 --- extra/libcdio/PKGBUILD | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'extra/libcdio/PKGBUILD') diff --git a/extra/libcdio/PKGBUILD b/extra/libcdio/PKGBUILD index e2458c935..cdd9dafc7 100644 --- a/extra/libcdio/PKGBUILD +++ b/extra/libcdio/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 198135 2013-10-30 13:00:01Z allan $ +# $Id: PKGBUILD 204418 2014-01-19 16:28:51Z bpiotrowski $ # Maintainer: # Contributor: damir pkgname=libcdio -pkgver=0.90 -pkgrel=2 +pkgver=0.92 +pkgrel=1 pkgdesc="GNU Compact Disc Input and Control Library" arch=('i686' 'x86_64') license=('GPL3') @@ -12,23 +12,24 @@ url="http://www.gnu.org/software/libcdio/" 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 - udf-Dont-return-freed-memory-from-udf_fopen.patch) -md5sums=('1b245b023fb03a58d030fd2800db3247' - '45100d90ea49d6f8481eddf709655c0f' - '5a7f50209c03d5919d5b932f07871af7' - 'b7b50c989575e5484d3992b455c9df48') + libcdio-0.83-linking.patch) +md5sums=('86f3f2869c1d34e4c6e52db77992b918' + 'SKIP' + '5a7f50209c03d5919d5b932f07871af7') -build() { - cd "${srcdir}/${pkgname}-${pkgver}" +prepare() { + cd ${pkgname}-${pkgver} patch -Np1 -i ../libcdio-0.83-linking.patch - patch -Np1 -i ../udf-Dont-return-freed-memory-from-udf_fopen.patch +} + +build() { + 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 */|" \ -- cgit v1.2.3-54-g00ecf