diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-07-24 21:57:21 -0300 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-28 22:49:18 +0200 |
commit | ffb4937cf40cb0c7b844085b2525818e1d7189f8 (patch) | |
tree | 2e125fe7e822e7a1ac43a888ac9d0634e1f3cecf /main/libcdio-paranoia | |
parent | 4407fdc63ef3d89d0fef9c24719b2f7df24b5b04 (diff) | |
download | aports-ffb4937cf40cb0c7b844085b2525818e1d7189f8.tar.bz2 aports-ffb4937cf40cb0c7b844085b2525818e1d7189f8.tar.xz |
main/libcdio-paranoia: upgrade to 0.94+1
Diffstat (limited to 'main/libcdio-paranoia')
-rw-r--r-- | main/libcdio-paranoia/APKBUILD | 37 |
1 files changed, 13 insertions, 24 deletions
diff --git a/main/libcdio-paranoia/APKBUILD b/main/libcdio-paranoia/APKBUILD index 9e423d4557..546e83aec2 100644 --- a/main/libcdio-paranoia/APKBUILD +++ b/main/libcdio-paranoia/APKBUILD @@ -1,8 +1,8 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libcdio-paranoia -pkgver=0.93_p1 +pkgver=0.94_p1 _ver=${pkgver/_p/+} -pkgrel=4 +pkgrel=0 pkgdesc="CD paranoia on top of libcdio" url="http://www.gnu.org/software/libcdio/" arch="all" @@ -10,26 +10,18 @@ license="GPLv2+ and LGPLv2+" depends="" depends_dev="libcdio-dev" makedepends="$depends_dev autoconf automake libtool" -install="" subpackages="$pkgname-dev $pkgname-doc" -source="http://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-10.2+$_ver.tar.gz - " -_builddir="$srcdir"/libcdio-paranoia-10.2+$_ver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac || return 1 +source="http://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-10.2+$_ver.tar.gz" +builddir="$srcdir"/libcdio-paranoia-10.2+$_ver +prepare() { + default_prepare + sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac autoreconf -i } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -38,16 +30,13 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ - --disable-static \ - || return 1 - make || return 1 + --disable-static + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="4fb07fa47db24b71d315d40c9c6cecfb libcdio-paranoia-10.2+0.93+1.tar.gz" -sha256sums="4617792b4eb301de45b61732bdc0617447ad06b53068ae45db37695275c0dd4c libcdio-paranoia-10.2+0.93+1.tar.gz" -sha512sums="2bb418c99ef037aeb90ba3db841ea9182c5bc401e74c6f4b552730e6c8561552f7d3e27be71ef4fbb07b4fcd9db418a4fe330d5278e8f41cdd99c757aa4b8bc6 libcdio-paranoia-10.2+0.93+1.tar.gz" +sha512sums="9b2381491271090bac08594cb1d84de98e9f0a5afc6a2c98e9ffcf4b95addc3adcd0f0b9adeb928dfbf8178356ad6a7ccfeb048685c823d138b2af232f0b4c93 libcdio-paranoia-10.2+0.94+1.tar.gz" |