summaryrefslogtreecommitdiff
path: root/community/libextractor/PKGBUILD
blob: 339bf28da40da8769d4ea07a825f043bbf7184f7 (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
# $Id: PKGBUILD 58358 2011-11-12 10:52:51Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s@gmail.com>
# Contributor: damir <damir@archlinux.org>

pkgname=libextractor
pkgver=0.6.2
pkgrel=5
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=('libvorbis' 'libtool' 'gtk2' 'libgsf' 'libmpeg2' 'texinfo')
makedepends=('flac' 'poppler' 'exiv2' 'qt')
optdepends=('flac'
	    'poppler'
	    'exiv2'
	    'qt')
options=('!libtool' '!makeflags')
install=libextractor.install
source=(http://ftpmirror.gnu.org/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('4b2af1167061430d58a101d5dfc6b4c7')

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
}