#Packager: George Vlahavas pkgname=mate-netspeed pkgver=1.8.0 pkgrel=1gv source=("http://pub.mate-desktop.org/releases/1.8/mate-netspeed-1.8.0.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") doinst() { # compile schemas if [ -x /usr/bin/glib-compile-schemas ]; then /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mate-netspeed (a netspeed applet for MATE)" "Netspeed is just a little MATE-applet that shows how much traffic" "occurs on a specified network device (for example eth0)." ) build() { cd $startdir/src/$pkgname-$pkgver ./autogen.sh --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-static \ --disable-schemas-compile \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg # remove unnecessary help files rm -rf $startdir/pkg/usr/share/help }