#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=gnome-netstatus pkgver=2.28.2 zenver=66 pkgrel=1 arch=i486 source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-netstatus/2.28/gnome-netstatus-$pkgver.tar.bz2) docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=http://ftp.gnome.org/pub/GNOME/sources/gnome-netstatus sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname 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-netstatus - Network status applet for GNOME" "gnome-netstatus is a GNOME panel applet that monitors network" "interfaces. Network Monitor provides indicators for ingoing and" "outgoing data, packets received and transmitted, and information about" "the network interface itself such as IP information and Ethernet" "address." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-static --disable-scrollkeeper --disable-schemas-install --disable-static 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 $startdir/pkg/etc/gconf ; find . -type d -exec chmod 755 {} \; ) ( cd $startdir/pkg/etc/gconf ; find . -type f -exec chmod 644 {} \; ) fi }