summaryrefslogtreecommitdiff
path: root/community/libextractor/PKGBUILD
blob: bc99009fafb72d4958b9520ca100b1c4328488e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $Id: PKGBUILD 71278 2012-05-26 07:55:04Z pschmitz $
# 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" 'mips64el')
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
}