# Template file for 'GConf'
pkgname=GConf
version=3.2.5
distfiles="${GNOME_SITE}/GConf/3.2/GConf-$version.tar.xz"
build_style=gnu-configure
configure_args="--without-openldap --enable-gtk --enable-defaults-service
--disable-orbit --enable-gsettings-backend"
makedepends="pkg-config intltool gobject-introspection gtk+3-devel dbus-glib-devel polkit-devel libxml2-devel"
revision=1
short_desc="A process-transparent configuration system"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://projects.gnome.org/gconf"
license="GPL-2"
checksum=4ddea9503a212ee126c5b46a0a958fd5484574c3cb6ef2baf38db02e819e58c6
long_desc="
 GConf is a process-transparent configuration database API used to
 store user preferences. It has pluggable backends and features to
 support workgroup administration."

conf_files="/etc/gconf/2/path"
subpackages="$pkgname-devel"


post_install() {
	# Create GCONF_SCHEMAS_DIR
	install -d ${DESTDIR}/usr/share/gconf/schemas
	touch -f ${DESTDIR}/usr/share/gconf/schemas/.empty_on_purpose
	# Create required sysconfdir dirs.
	for d in defaults mandatory system; do
		install -d ${DESTDIR}/etc/gconf/gconf.xml.${d}
		touch -f ${DESTDIR}/etc/gconf/gconf.xml.${d}/.empty_on_purpose
	done
}
