#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=libmatecomponentui
pkgver=1.4.0
pkgrel=1gv
source=("http://pub.mate-desktop.org/releases/1.4/libmatecomponentui-1.4.0.tar.xz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libmatecomponentui (The Component UI library)"
"The bonobo library supports independant CORBA interfaces for creating"
"reusable components.  It provides MATE with a framework for handling"
"compound documents, such as embedding a spreadsheet in a word"
"processor document."
)


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

	# we don't really need these
	rm -rf $startdir/pkg/usr/share/gtk-doc
}