#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=gconf-editor pkgver=2.30.0 zenver=66 pkgrel=1 arch=i486 source=("http://ftp.acc.umu.se/pub/GNOME/sources/gconf-editor/2.30/gconf-editor-$pkgver.tar.bz2") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/xap/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=www.gnome.org options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') doinst() { # Update the scrollkeeper database (Remove stale pieces) if [ -x usr/bin/scrollkeeper-update ]; then usr/bin/scrollkeeper-update > /dev/null 2>&1 fi # Update icon cache gtk-update-icon-cache -f -t usr/share/icons/hicolor } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gconf-editor - GTK+2 Editor for Gconf" "The GConf Editor package contains a GUI editor for the GConf" "configuration database." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --mandir=/usr/man --disable-schemas-install --disable-scrollkeeper --with-gconf-defaults-source=xml::/etc/gconf/gconf.xml.defaults --with-gconf-mandatory-source=xml::/etc/gconf/gconf.xml.mandatory make || return 1 make install DESTDIR=$startdir/pkg # gconf stuff export GCONF_CONFIG_SOURCE="xml::$startdir/pkg/etc/gconf/gconf.xml.defaults" if [ -d $startdir/pkg/etc/gconf/schemas ]; then install -v -d -m755 $startdir/pkg/etc/gconf/gconf.xml.defaults SCHEMAS=$startdir/pkg/etc/gconf/schemas for schema in $SCHEMAS/*.schemas; do gconftool-2 --makefile-install-rule $schema done # Reset / Verify correct permissions ( cd $PKG/etc/gconf ; find . -type d -exec chmod 755 {} \; ) ( cd $PKG/etc/gconf ; find . -type f -exec chmod 644 {} \; ) fi }