# Template file for 'dconf'
pkgname=dconf
version=0.16.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool libxslt docbook-xsl"
makedepends="vala-devel>=0.20 dbus-devel gtk+3-devel libxml2-devel"
short_desc="A low-level configuration system"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://live.gnome.org/dconf"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=192d682b8e160e22506f3fac6847444013c7cdbef188d937a6ae2b357f9134bb
long_desc="
 dconf is a low-level configuration system. Its main purpose is to provide a
 backend to GSettings on platforms that don't already have configuration
 storage systems."

dconf-devel_package() {
	depends="libglib-devel vala-devel dconf-${version}_${revision}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
		vmove usr/share/vala
	}
}

dconf-editor_package() {
	short_desc="${short_desc} - GTK+ editor"
	pkg_install() {
		vmove usr/bin/dconf-editor
		vmove usr/share/dconf-editor
		vmove usr/share/applications
	}
}

dconf_package() {
	pkg_install() {
		vmove usr
	}
}
