#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=gnome-utils pkgver=2.32.0 zenver=66 pkgrel=1 arch=i686 source=("http://ftp.acc.umu.se/pub/GNOME/sources/gnome-utils/2.32/gnome-utils-$pkgver.tar.bz2") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "thanks") 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 } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gnome-utils - GNOME desktop utilities" "This package contains the following utilities for the GNOME desktop:" "- baobab, a disk usage analyser" "- gnome-dictionary, a program which can look up the definition of" " words over the internet (including a panel applet to do the same)" "- gnome-search-tool, with which one can find files by name or content" "- gnome-system-log, a log viewing application" "- gnome-screenshot, a tool to take desktop screenshots and save them" " into a file" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --enable-hal --mandir=/usr/man --disable-schemas-install --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" \ --disable-scrollkeeper --enable-static=no make || return 1 make install DESTDIR=$startdir/pkg #rm -rf $startdir/pkg/usr/share/gtk-doc #rm -rf $startdir/pkg/usr/share/gnome #rm -rf $startdir/pkg/usr/share/omf # 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 $startdir/pkg/etc/gconf ; find . -type d -exec chmod 755 {} \; ) ( cd $startdir/pkg/etc/gconf ; find . -type f -exec chmod 644 {} \; ) fi }