pkgname: libcdio pkgver: '2.4.0' pkgrel: 1 pkgdesc: GNU Compact Disc Input and Control Library url: 'http://www.gnu.org/software/libcdio/' arch: x86_64 depends: [] makedepends: - libtool - perl - ncurses - texinfo - help2man source: - version.texi - 'https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2' sha256sums: - SKIP - SKIP build: | cp version.texi ${pkgname}-${pkgver}/doc cd ${pkgname}-${pkgver} autoreconf -fvi ./configure --prefix=/usr \ --disable-static \ --disable-vcd-info \ --enable-cpp-progs \ --disable-cddb \ --enable-maintainer-mode sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make make DESTDIR=${PKGDIR} install # Obsolets libs rm -f ${PKGDIR}/usr/lib/libcdio{,++}.la rm -f ${PKGDIR}/usr/lib/libiso9660{,++}.la rm -f ${PKGDIR}/usr/lib/libudf.la sed -e "/define CDIO_LIBCDIO_SOURCE_PATH/s|.*|/* #undef CDIO_LIBCDIO_SOURCE_PATH */|" \ -i ${PKGDIR}/usr/include/cdio/cdio_config.h package: | true