makedepends=(glib intltool perl-xml-parser libxml2 gobject-introspection python-setuptools)

description="Library used for providing an extensible input/output abstraction layer for structured file formats."
url="http://www.gnome.org/"

packager="Great-OS Team"
maintainer="Great-OS Team"

name=libgsf
version=1.14.55
release=2

source=( http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)

build() {
  cd $name-$version

  ./configure --prefix=/usr              \
              --disable-maintainer-mode  \
              --disable-schemas-compile  \
              --enable-introspection=yes \
              --disable-static

  export CFLAGS+=" -Wno-error -Wno-error=nested-externs"

  make
  make DESTDIR=$PKG install
}
