#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=gnome-nettool pkgver=3.0.1 zenver=72 pkgrel=1 arch=i686 source=("http://ftp.gnome.org/pub/GNOME/sources/gnome-nettool/3.0/gnome-nettool-$pkgver.tar.xz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=http://ftp.gnome.org/pub/GNOME/sources/gnome-nettool/ options=('norequiredbuilder' 'keepdepfile') doinst() { # update the mime desktop database if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database -q fi # update the mime database if [ -x usr/bin/update-mime-database ]; then usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1 fi # glib2 compile schemas if [ -x usr/bin/glib-compile-schemas ]; then usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gnome-nettool - network information tool for GNOME" "GNOME Nettool is a network information tool which provides user" "interfaces for some of the most common command line network tools" "including: ifconfig, ping, netstat, tracepath, port scanning, DNS" "lookup, finger, whois" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-static make || return 1 make install DESTDIR=$startdir/pkg }