diff options
author | root <root@rshg054.dnsready.net> | 2012-05-23 00:02:37 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-23 00:02:37 +0000 |
commit | bd614ac21d2754d778a796cd5e92d1568ec8baec (patch) | |
tree | 094c785b4da8bafd835e9e319e9908b776258975 /community-testing/libextractor | |
parent | 62e13d20ed92262c7396eff00d048ce815693e74 (diff) |
Wed May 23 00:02:37 UTC 2012
Diffstat (limited to 'community-testing/libextractor')
-rw-r--r-- | community-testing/libextractor/PKGBUILD | 38 | ||||
-rw-r--r-- | community-testing/libextractor/libextractor.install | 20 |
2 files changed, 58 insertions, 0 deletions
diff --git a/community-testing/libextractor/PKGBUILD b/community-testing/libextractor/PKGBUILD new file mode 100644 index 000000000..93dac3214 --- /dev/null +++ b/community-testing/libextractor/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 71003 2012-05-21 17:28:00Z foutrelis $ +# Maintainer: Sergej Pupykin <pupykin.s@gmail.com> +# Contributor: damir <damir@archlinux.org> + +pkgname=libextractor +pkgver=0.6.3 +pkgrel=4 +pkgdesc="A library used to extract meta-data from files of arbitrary type" +arch=("i686" "x86_64") +license=('GPL') +url="http://gnunet.org/libextractor/" +depends=('libltdl') +makedepends=('flac' 'poppler' 'exiv2' 'qt' 'libvorbis' 'gtk2' 'libgsf' 'libmpeg2') +optdepends=('flac: flac support' + 'poppler: pdf support' + 'exiv2: metadata support' + 'qt: the Qt GUI interface/thumbnails' + 'gtk2: gtk2 GUI interface/thumbnails' + 'libgsf: (optional) for ODF support' + 'libmpeg2: mpeg support' + 'libvorbis: ogg/vorbis support') +options=('!libtool' '!makeflags') +install=libextractor.install +source=("http://ftpmirror.gnu.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}) +md5sums=('7004ff6be06e400050f0ad7016140981' + '81f95c31831dde62428a98ae32464c51') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --enable-shared --disable-static + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + rm ${pkgdir}/usr/share/info/dir +} diff --git a/community-testing/libextractor/libextractor.install b/community-testing/libextractor/libextractor.install new file mode 100644 index 000000000..1cf51e095 --- /dev/null +++ b/community-testing/libextractor/libextractor.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(extractor.info.gz) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file $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 $infodir/dir 2> /dev/null + done +} |