# Template file for 'python-gconf'
pkgname=python-gconf
version=2.28.1
revision=1
wrksrc="gnome-python-${version}"
build_style=gnu-configure
configure_args="--enable-gconf --disable-gnome --disable-gnomeui
--disable-gnomecanvas --disable-gnomevfs --disable-gnomevfsbonobo
--disable-pyvfsmodule --disable-bonobo_activation --disable-bonobo
--disable-bonoboui"
makedepends="pkg-config python-devel pygobject2-devel pygtk-devel GConf-devel"
short_desc="Python bindings for interacting with GConf"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/gnome-python/2.28/gnome-python-${version}.tar.bz2"
checksum=759ce9344cbf89cf7f8449d945822a0c9f317a494f56787782a901e4119b96d8
long_desc="
 This package contains modules that allow to access and manipulate the
 GNOME configuration database (GConf) from Python programs."

post_install() {
	rm -rf ${DESTDIR}/usr/lib/pkgconfig
}

python-gconf_package() {
	pycompile_dirs="usr/share/pygtk/2.0"
	depends="pygobject2 pygtk"
	pkg_install() {
		vmove usr
	}
}
