From 3d874184ce2f9e1f5a2e0e7397703598687df3f0 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 2 Sep 2018 20:36:25 -0300 Subject: [PATCH] GConf: use make_dirs instead of .empty --- srcpkgs/GConf/template | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/srcpkgs/GConf/template b/srcpkgs/GConf/template index 255495f6ff1..7324c63395d 100644 --- a/srcpkgs/GConf/template +++ b/srcpkgs/GConf/template @@ -1,7 +1,7 @@ # Template file for 'GConf' pkgname=GConf version=3.2.6 -revision=7 +revision=8 build_style=gnu-configure configure_args="--without-openldap --enable-gtk --enable-defaults-service --disable-orbit --enable-gsettings-backend --disable-static --disable-gtk-doc-html @@ -17,6 +17,10 @@ homepage="http://projects.gnome.org/gconf" license="GPL-2" distfiles="${GNOME_SITE}/GConf/3.2/GConf-${version}.tar.xz" checksum=1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c +make_dirs="/usr/share/gconf/schemas 0755 root root + /etc/gconf/gconf.xml.defaults 0755 root root + /etc/gconf/gconf.xml.mandatory 0755 root root + /etc/gconf/gconf.xml.system 0755 root root" # Package build options build_options="gir" @@ -30,17 +34,6 @@ pre_configure() { autoreconf -if } -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 ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"