GConf: use make_dirs instead of .empty
This commit is contained in:
parent
1255878439
commit
3d874184ce
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue