1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Aaron Griffin <aaron@archlinux.org>
7 pkgdesc="A GLib/GTK+ set of document-centric objects and charting library"
8 url="https://git.gnome.org/browse/goffice"
11 depends=(librsvg gtk3 libgsf libspectre libxslt lasem)
12 makedepends=(intltool gtk-doc gobject-introspection autoconf-archive git)
13 _commit=29c5bfe6333b499a051f969464c6804e28616736
14 source=("git+https://gitlab.gnome.org/GNOME/goffice.git#commit=$_commit")
19 git describe --tags | sed 's/^GOFFICE_//;s/_/./g;s/-/+/g'
24 NOCONFIGURE=1 ./autogen.sh
29 ./configure --prefix=/usr --sysconfdir=/etc \
30 --localstatedir=/var --disable-static --enable-introspection --enable-gtk-doc
32 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
38 make DESTDIR="${pkgdir}" install