updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / ooo-thumbnailer-libgsf / PKGBUILD
blobdfe2c21a1da48b5ebb1c033f32cb1e76b43171f5
1 # $Id$
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
5 pkgname=ooo-thumbnailer-libgsf
6 _realpkgname=libgsf
7 pkgver=1.14.22
8 pkgrel=2
9 arch=(i686 x86_64)
10 pkgdesc="The GNOME Structured File Library is a utility library for reading and writing structured file formats"
11 url="http://www.gnome.org/"
12 license=('GPL' 'LGPL')
13 options=('!libtool')
14 depends=('libxml2' 'gdk-pixbuf2' 'bzip2')
15 conflicts=("libgsf-gnome<$pkgver" 'libgsf')
16 provides=("libgsf=$pkgver")
17 makedepends=('intltool' 'pygtk')
18 source=(http://ftp.gnome.org/pub/GNOME/sources/$_realpkgname/1.14/$_realpkgname-$pkgver.tar.xz)
19 sha256sums=('a5f23be3cab72abd91bb443a32f41d6adc73250285b53787460750b6d60b783f')
21 build() {
22   cd "$srcdir/$_realpkgname-$pkgver"
23   PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
24       --localstatedir=/var --disable-static
25   make
28 package() {
29   cd "$srcdir/$_realpkgname-$pkgver"
30   make DESTDIR="$pkgdir" install
32   rm -R "$pkgdir/usr/share/thumbnailers"