#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=goffice
pkgver=0.8.12
pkgrel=1gv
source=(http://ftp.gnome.org/pub/GNOME/sources/goffice/0.8/goffice-0.8.12.tar.bz2)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "bugs")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"goffice (Gnome Office Library)"
"goffice is a library of document-centric objects and utilities used"
"by Gnome Office."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static --disable-gtk-doc --build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
	rm -rf $startdir/pkg/usr/share/gtk-doc
}