diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/libcdio |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/libcdio')
-rw-r--r-- | extra/libcdio/PKGBUILD | 25 | ||||
-rw-r--r-- | extra/libcdio/libcdio.install | 13 |
2 files changed, 38 insertions, 0 deletions
diff --git a/extra/libcdio/PKGBUILD b/extra/libcdio/PKGBUILD new file mode 100644 index 000000000..4c309a65e --- /dev/null +++ b/extra/libcdio/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 59886 2009-11-29 15:21:53Z jgc $ +# Maintainer: damir <damir@archlinux.org> +# Contributor: damir <damir@archlinux.org> + +pkgname=libcdio +pkgver=0.82 +pkgrel=1 +pkgdesc="GNU Compact Disc Input and Control Library" +arch=("i686" "x86_64") +license=('GPL3') +url="http://www.gnu.org/software/libcdio/" +depends=('gcc-libs>=4.4.2' 'libcddb' 'ncurses') +options=('!libtool') +install=libcdio.install +source=(http://ftp.gnu.org/gnu/libcdio/${pkgname}-${pkgver}.tar.gz) +md5sums=('1c29b18e01ab2b966162bc727bf3c360') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --disable-vcd-info --enable-cpp-progs || return 1 + make || return 1 + make -j1 DESTDIR="${pkgdir}" install || return 1 + #install -m644 libcdio_paranoia.pc libcdio_cdda.pc \ + # "${pkgdir}/usr/lib/pkgconfig/" || return 1 +} diff --git a/extra/libcdio/libcdio.install b/extra/libcdio/libcdio.install new file mode 100644 index 000000000..33a4e1ace --- /dev/null +++ b/extra/libcdio/libcdio.install @@ -0,0 +1,13 @@ +info_dir=/usr/share/info + +post_install() { + install-info ${info_dir}/libcdio.info.gz ${info_dir}/dir 2> /dev/null +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + install-info --delete ${info_dir}/libcdio.info.gz ${info_dir}/dir 2> /dev/null +} |