summaryrefslogtreecommitdiff
path: root/community/libextractor/PKGBUILD
blob: acc4c2159746099678c7aa8d35fa41d5525ff331 (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 50663 2011-06-29 11:38:50Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s@gmail.com>
# Contributor: damir <damir@archlinux.org>

pkgname=libextractor
pkgver=0.6.2
pkgrel=2
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
}