diff options
Diffstat (limited to 'abs/extra/libisoburn')
-rw-r--r-- | abs/extra/libisoburn/PKGBUILD | 28 | ||||
-rw-r--r-- | abs/extra/libisoburn/libisoburn.install | 20 |
2 files changed, 48 insertions, 0 deletions
diff --git a/abs/extra/libisoburn/PKGBUILD b/abs/extra/libisoburn/PKGBUILD new file mode 100644 index 0000000..36a6f7e --- /dev/null +++ b/abs/extra/libisoburn/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 163887 2012-07-21 12:16:22Z andyrtr $ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Gour <Gour <gour@mail.inet.hr> + +pkgname=libisoburn +pkgver=1.2.4 +pkgrel=1 +pkgdesc="frontend for libraries libburn and libisofs" +url="http://libburnia.pykix.org/wiki/Libisoburn" +arch=('i686' 'x86_64') +license=('GPL2') +depends=('libburn>=1.2.4' 'libisofs>=1.2.4' 'readline') +options=('!libtool') +install=${pkgname}.install +source=(http://files.libburnia-project.org/releases/${pkgname}-${pkgver}.tar.gz{,.sig}) +md5sums=('d5d78ec840a8bbc7df6582f65a28ca1e' + '39d26239be2e7ed2ec1dd22e214173dd') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} diff --git a/abs/extra/libisoburn/libisoburn.install b/abs/extra/libisoburn/libisoburn.install new file mode 100644 index 0000000..69f17be --- /dev/null +++ b/abs/extra/libisoburn/libisoburn.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(xorriso.info xorrisofs.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null + done +} |