1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
9 pkgdesc="An extensible I/O abstraction library for dealing with structured file formats"
10 url="https://gitlab.gnome.org/GNOME/libgsf"
12 depends=(libxml2 gdk-pixbuf2 bzip2)
13 makedepends=(gobject-introspection git gtk-doc autoconf-archive)
14 checkdepends=(perl-xml-parser unzip valgrind)
15 provides=(libgsf-1.so)
17 _commit=3f6b8dc6f2ba395eeb0dc3c2ebc60c14105be3e1 # tags/LIBGSF_1_14_50^0
18 source=("git+https://gitlab.gnome.org/GNOME/libgsf.git#commit=$_commit")
23 git describe --tags | sed 's/^LIBGSF_//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
28 NOCONFIGURE=1 ./autogen.sh
33 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
34 --disable-static --enable-introspection --enable-gtk-doc
35 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
46 make DESTDIR="$pkgdir" install