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

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

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libmateui (The MATE 2 user interface libraries)"
"This package contains the shared library for the base MATE library"
"functions (User Interface functions)."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./autogen.sh
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var/lib --sysconfdir=/etc --enable-static=no --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
}