# Maintainer: Natanael Copa pkgname=goffice pkgver=0.10.55 pkgrel=2 _maj=${pkgver%%.*} _min=${pkgver#$_maj.} _min=${_min%%.*} pkgdesc="Library of document-centric objects and utilities built on top of GLib and Gtk+" url="https://www.gnome.org/" arch="all" license="GPL-2.0-or-later OR GPL-3.0-or-later" makedepends=" autoconf automake cairo-dev glib-dev gobject-introspection-dev gtk+3.0-dev gtk-doc intltool libgsf-dev librsvg-dev libtool libxml2-dev libxslt-dev " subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/goffice/$_maj.$_min/goffice-$pkgver.tar.xz" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --enable-introspection make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums=" c49eec867e4147102b54b70847b495cad0e55fcb069c78a8374760121219b9097c1dfb5601b240e92ed68a6fb785ab5e771f7c579dd138e106ee25a1b9ddfe99 goffice-0.10.55.tar.xz "