PKGBUILDs/extra/libextractor/PKGBUILD
2009-10-09 21:23:22 -05:00

24 lines
880 B
Bash

# $Id: PKGBUILD 37373 2009-05-01 07:26:17Z eric $
# Maintainer: damir <damir@archlinux.org>
pkgname=libextractor
pkgver=0.5.22
pkgrel=1
pkgdesc="libextractor is a library used to extract meta-data from files of arbitrary type"
arch=("i686" "x86_64")
license=('GPL')
url="http://gnunet.org/libextractor/"
depends=('gcc-libs>=4.1' 'glib2' 'bzip2' 'zlib' 'libvorbis' 'libtool>=2.2' 'gtk2' 'libgsf' 'libmpeg2' 'libxml2' 'texinfo')
options=('!libtool' '!makeflags')
install=libextractor.install
source=(http://gnunet.org/libextractor/download/${pkgname}-${pkgver}.tar.gz)
md5sums=('f6d6ea1264a471189eee99728b983c4e')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --enable-shared --disable-static || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
rm ${pkgdir}/usr/share/info/dir
gzip ${pkgdir}/usr/share/info/extractor.info
}