diff options
author | Rodrigo Bezerra | 2021-12-29 15:00:46 -0300 |
---|---|---|
committer | Rodrigo Bezerra | 2021-12-29 15:00:46 -0300 |
commit | 3f3d0eabed2e7761222139583e26970b0094d7cb (patch) | |
tree | b13492146bd024d081539efd06837161ba77f3a5 /PKGBUILD | |
parent | 077a0ba0d8a744c36ec838e067465d51697e5bf9 (diff) | |
download | aur-3f3d0eabed2e7761222139583e26970b0094d7cb.tar.gz |
Update to version 2.1.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 74 |
1 files changed, 41 insertions, 33 deletions
@@ -1,51 +1,59 @@ -# Maintainer: Fredy García <frealgagu at gmail dot com> +# Maintainer: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com> +# Contributor: Fredy García <frealgagu at gmail dot com> # Contributor: schuay <jakob.gruber@gmail.com> # Contributor: GordonGR <ntheo1979@gmail.com> # Contributor: Kazuo Teramoto <kaz.rag at gmail dot com> # Contributor: damir <damir@archlinux.org> +_basename=libcdio pkgname=lib32-libcdio -pkgver=2.0.0 -pkgrel=3 +pkgver=2.1.0 +pkgrel=1 pkgdesc="GNU Compact Disc Input and Control Library (32-bit)" -arch=("x86_64") -license=("GPL3") -url="https://www.gnu.org/software/${pkgname#lib32-*}/" -depends=("lib32-gcc-libs" "${pkgname#lib32-*}") -source=(https://ftp.gnu.org/gnu/${pkgname#lib32-*}/${pkgname#lib32-*}-${pkgver}.tar.gz{,.sig}) -sha256sums=("1b481b5da009bea31db875805665974e2fc568e2b2afa516f4036733657cf958" - "1ca33fe6e86266f7829f0d4cdef36e0268144484c86090d6608fa53da782e8ac") +url="https://www.gnu.org/software/libcdio/" +arch=(x86_64) +license=(GPL3) +depends=(lib32-gcc-libs lib32-ncurses libcdio) +source=(https://ftp.gnu.org/gnu/libcdio/${_basename}-${pkgver}.tar.bz2{,.sig}) +sha256sums=("8550e9589dbd594bfac93b81ecf129b1dc9d0d51e90f9696f1b2f9b2af32712b" + "SKIP") validpgpkeys=("DAA63BC2582034A02B923D521A8DE5008275EC21") # R. Bernstein prepare() { - cd "${pkgname#lib32-*}-${pkgver}" - autoreconf -fi + cd "${_basename}-${pkgver}" + + autoreconf -fi } build() { - export CC="gcc -m32" - export CXX="g++ -m32" - export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - - cd "${pkgname#lib32-*}-${pkgver}" - ./configure \ - --prefix=/usr \ - --disable-vcd-info \ - --enable-cpp-progs \ - --libdir=/usr/lib32 \ - --without-cd-drive \ - --without-cd-info \ - --without-cdda-player \ - --without-cd-read \ - --without-iso-info \ - --without-iso-read \ - --disable-cddb - make + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd "${_basename}-${pkgver}" + + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib32 \ + --enable-cpp-progs \ + --disable-vcd-info \ + --without-cd-drive \ + --without-cd-info \ + --without-cdda-player \ + --without-cd-read \ + --without-iso-info \ + --without-iso-read \ + --disable-cddb + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make } package() { - cd "${pkgname#lib32-*}-${pkgver}" - make -j1 DESTDIR="${pkgdir}" install + cd "${_basename}-${pkgver}" + + make -j1 DESTDIR="${pkgdir}" install - rm -rf "${pkgdir}/usr/bin" "${pkgdir}/usr/include" "${pkgdir}/usr/share" + rm -rf "${pkgdir}/usr/bin" "${pkgdir}/usr/include" "${pkgdir}/usr/share" } |