1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2 # Contributor: damir <damir@archlinux.org>
7 pkgdesc="GNU Compact Disc Input and Control Library"
8 url="https://www.gnu.org/software/libcdio/"
11 depends=(libcddb ncurses gcc-libs)
12 source=(https://ftp.gnu.org/gnu/libcdio/$pkgname-$pkgver.tar.bz2{,.sig})
13 sha256sums=('8550e9589dbd594bfac93b81ecf129b1dc9d0d51e90f9696f1b2f9b2af32712b'
15 validpgpkeys=('DAA63BC2582034A02B923D521A8DE5008275EC21') # R. Bernstein
24 ./configure --prefix=/usr --disable-vcd-info --enable-cpp-progs --disable-static
25 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
36 make DESTDIR="$pkgdir" install
38 sed -e "/define CDIO_LIBCDIO_SOURCE_PATH/s|.*|/* #undef CDIO_LIBCDIO_SOURCE_PATH */|" \
39 -i "$pkgdir/usr/include/cdio/cdio_config.h"