# $Id: PKGBUILD 166587 2012-09-12 17:38:22Z jgc $ # Maintainer: Jan de Groot # Contributor: Sarah Hay pkgname=libgsf pkgver=1.14.24 pkgrel=1 arch=(i686 x86_64) pkgdesc="The GNOME Structured File Library is a utility library for reading and writing structured file formats" url="http://www.gnome.org/" license=('GPL' 'LGPL') options=('!libtool') depends=('libxml2' 'gdk-pixbuf2' 'bzip2') makedepends=('intltool' 'gobject-introspection') source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/1.14/$pkgname-$pkgver.tar.xz) sha256sums=('975fc00a1332167e2baf649f8e2637884f798db1c8bb04abece2d5141663abff') build() { cd "$pkgname-$pkgver" PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static --enable-introspection make } package_libgsf() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install }