# Maintainer: pkgname=libcdio-paranoia pkgver=10.2.2.0.1 _pkgver="$(printf "$pkgver" | sed 's/10\.2\./10.2+/')" pkgrel=0 pkgdesc="CD paranoia on top of libcdio" url="https://www.gnu.org/software/libcdio/" arch="all" license="GPL-2.0+ AND LGPL-2.0+" depends="" depends_dev="ncurses-dev" makedepends="$depends_dev libcdio-dev autoconf automake libtool" subpackages="$pkgname-dev $pkgname-doc" source="https://ftp.gnu.org/gnu/libcdio/$pkgname-$_pkgver.tar.bz2 pkg-version-format.patch " builddir="$srcdir/$pkgname-$_pkgver" prepare() { default_prepare autoreconf -vif } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --disable-static make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="c4a768d11e9f62038ca8081316596c89c7fee6a314229fb42e3999757fae172a5dc167175f60d555c2442266d34fce6ce627f4124e9f3a93d0456adb09ca91f0 libcdio-paranoia-10.2+2.0.1.tar.bz2 addcc8c2b6f62218c855d1d2ce71406626ece0a669bad89a1375d32de3991b7496b53b196d7754e75382d297b860a6c3dc1305d32aa94073eb827848d5d01c6c pkg-version-format.patch"