void-packages/srcpkgs/GConf/template

49 lines
1.5 KiB
Text

# Template file for 'GConf'
pkgname=GConf
version=3.2.6
revision=2
build_style=gnu-configure
configure_args="--without-openldap --enable-gtk --enable-defaults-service
--disable-orbit --enable-gsettings-backend --disable-static"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="gtk+3-devel dbus-glib-devel polkit-devel libxml2-devel"
short_desc="A process-transparent configuration system"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://projects.gnome.org/gconf"
license="GPL-2"
distfiles="${GNOME_SITE}/GConf/3.2/GConf-${version}.tar.xz"
checksum=1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c
post_install() {
# Create GCONF_SCHEMAS_DIR
vmkdir 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
vmkdir etc/gconf/gconf.xml.${d}
touch -f ${DESTDIR}/etc/gconf/gconf.xml.${d}/.empty_on_purpose
done
}
GConf-devel_package() {
depends="glib-devel dbus-devel GConf>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
vmove usr/share/sgml usr/share
vmove usr/share/aclocal usr/share
vmove usr/share/gtk-doc usr/share
# Install gconf-merge-schema
vinstall ${FILESDIR}/gconf-merge-schema.sh 755 usr/bin gconf-merge-schema
}
}
GConf_package() {
conf_files="/etc/gconf/2/path"
pkg_install() {
vmove etc
vmove usr
}
}