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

pkgname=GConf
pkgver=2.32.1
pkgrel=1gv
source=(http://ftp.acc.umu.se/pub/GNOME/sources/GConf/2.32/GConf-2.32.1.tar.bz2)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "about-nls")
options=('noautodotnew')

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


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