#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=libgtop pkgver=2.28.1 zenver=64 pkgrel=1 arch=i686 source=("http://ftp.gnome.org/pub/GNOME/sources/libgtop/2.28/libgtop-2.28.1.tar.bz2") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/ISO/l/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=www.gnome.org options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') doinst() { # Install info files if [ -x usr/bin/install-info ] then usr/bin/install-info --info-dir=usr/info usr/info/libgtop2.info.gz 2>/dev/null fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libgtop - System Information Library" "libgtop is a library that fetches information about the running system" "such as cpu and memory usage, active processes etc. The information is" "taken directly from the /proc filesystem." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --mandir=/usr/man --infodir=/usr/info --disable-static make || return 1 make install DESTDIR=$startdir/pkg rm -rf $startdir/pkg/usr/share/gtk-doc }