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

pkgname=mate-conf
pkgver=1.2.1
pkgrel=1gv
source=("http://pub.mate-desktop.org/releases/1.2/mate-conf-1.2.1.tar.xz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "about-nls")
options=('noautodotnew')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"mate-conf (the MATE Configuration database system)"
"mate-conf is the MATE Configuration database system. It is intend for"
"storing user application preferences."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./autogen.sh --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-gtk-doc --enable-shared --disable-static --build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
	mkdir -p $startdir/pkg/etc/mateconf/schemas
	mkdir $startdir/pkg/etc/mateconf/mateconf.xml.system
	rm -rf $startdir/pkg/usr/share/gtk-doc
}