# Maintainer: PktSurf app=goffice version=0.10.57 build=1sml homepage="https://git.gnome.org/browse/goffice" download="https://download.gnome.org/sources/goffice/0.10/goffic-$version.tar.xz" desc="A GLib/GTK+ set of document-centric objects and charting library" requires="intltool libxslt libgsf gtk3" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { ./configure \ --prefix=/usr for i in po ; do printf 'all:\n\ttrue\ninstall:\n\ttrue\nclean:\n\ttrue\n' > "$i"/Makefile done make make install DESTDIR=$pkg cp COPYING* $pkgdocs/ mkfinalpkg } sha512sums=" f0d3b794d43bf10527582680fa718ac049b93b3d127037c16e885becdf1abe8ebb78d0e19d9b3f3def3edc098b982c0571bc12a35e5da05b4af3e33af717e1dc goffice-0.10.57.tar.lz "