# Description: GNOME Structured File Library # URL: http://www.gnome.org # Maintainer: Hans Bezemer, hbezemer at kliksafe dot nl # Depends on: libxml2, gtk-doc, gdk-pixbuf2, gobject-introspection name=libgsf version=1.14.47 versiononline=LIBGSF_1_14_47 release=1 source=(https://github.com/GNOME/${name}/archive/refs/tags/${versiononline}.tar.gz) build(){ cd $name-${versiononline} NOCONFIGURE=1 ./autogen.sh PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --enable-introspection \ --disable-nls \ --enable-gtk-doc=no sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make make DESTDIR=$PKG install }