Use gconf-merge-schema in pkgs installing gconf schema files.

--HG--
branch : gnome3
This commit is contained in:
Juan RP
2011-03-04 14:38:01 +01:00
parent 1d60222203
commit fb09b8d4d4
13 changed files with 103 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
# Template file for 'gnome-shell'
pkgname=gnome-shell
version=2.91.90
revision=1
distfiles="${GNOME_SITE}/$pkgname/2.91/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-schemas-install --disable-schemas-compile
@@ -126,3 +127,11 @@ pre_configure()
export LDFLAGS="-Wl,-R/usr/lib/xulrunner-1.9.2 -Wl,-R/usr/lib/gnome-bluetooth"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$ldlibpaths"
}
post_install()
{
mv ${DESTDIR}/usr/share/gconf/schemas/*.schemas ${wrksrc}
gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/${gconf_schemas} \
--domain ${pkgname} ${wrksrc}/*.schemas
}