summaryrefslogtreecommitdiff
path: root/testing/libgsf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libgsf/PKGBUILD')
-rw-r--r--testing/libgsf/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/libgsf/PKGBUILD b/testing/libgsf/PKGBUILD
new file mode 100644
index 000000000..d9e44d8ae
--- /dev/null
+++ b/testing/libgsf/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 156592 2012-04-21 11:46:06Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
+
+pkgname=libgsf
+pkgver=1.14.23
+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=('bfc1c6178f5319d5e6d854c380ce26542f9a103a5ff31c9d25a834e0be52fb17')
+
+build() {
+ cd "$pkgname-$pkgver"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static
+ make
+}
+
+package_libgsf() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}