### this file is sourced not run
PKGVER=0.8.17
PKGBUILD=1
PKGARCH=x86_64

# source: BLFS 2013-08-1 - this is the latest version that supports gtk2
TARBALL=goffice-0.8.17.tar.bz2
MD5SUM=b4c924457163e02daf8a8d2428f51d10 
SRC_URL=http://ftp.gnome.org/pub/gnome/sources/goffice/0.8/$TARBALL
BUNDLE=

SLACKREQ='libgsf gtk2'
SLACKDESC='libgoffice: libgoffice 0.8.17 (GTK document-centric utility library)  
libgoffice:  
libgoffice: The GOffice package contains a library of GLib/GTK document 
libgoffice: centric objects and utilities. This is useful for performing 
libgoffice: common operations for document centric applications that are 
libgoffice: conceptually simple, but complex to implement fully. Some of the 
libgoffice: operations provided by the GOffice library include support for 
libgoffice: plugins, load/save routines for application documents and 
libgoffice: undo/redo functions.  
libgoffice: 
libgoffice:
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/goffice*
	sed -i 's#info (r, NULL#full&, 0#' goffice/utils/regutf8.c
	CONFFLAGS="$CONFFLAGS --disable-static"
	pkg_build_autoconf && 
	pkg_build_slackdesc
}


