# $Id: PKGBUILD 22409 2008-12-26 18:58:32Z jgc $ # Maintainer: Jan de Groot # Contributor: Sarah Hay pkgname=libgsf pkgver=1.14.10 pkgrel=1 pkgdesc="The GNOME Structured File Library is a utility library for reading and writing structured file formats." arch=(i686 x86_64) url="http://www.gnome.org/" license=('GPL' 'LGPL') depends=('libxml2>=2.7.2' 'glib2>=2.18.3' 'bzip2') makedepends=('perlxml' 'pkgconfig' 'python') options=('!libtool') source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/1.14/${pkgname}-${pkgver}.tar.bz2) md5sums=('f9b2f309089af683066ff0b319227e57') build() { cd ${startdir}/src/${pkgname}-${pkgver} sed -i -e 's/gsf-gnome//' -e 's/thumbnailer//' Makefile.* ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --without-gnome-vfs --without-bonobo \ --disable-static || return 1 make || return 1 make DESTDIR=${startdir}/pkg install || return 1 rm -f ${startdir}/pkg/usr{,/share}/man/man1/gsf-office-thumbnailer.1 }