#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=libgtop pkgver=2.38.0 _majorver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"` pkgrel=1slint source=("http://ftp.acc.umu.se/pub/gnome/sources/libgtop/2.38/libgtop-2.38.0.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=www.gnome.org options=('noautodotnew') 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 \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --infodir=/usr/info \ --disable-static \ --enable-introspection \ --with-x \ --disable-hacker-mode \ --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg rm -rf $startdir/pkg/usr/share/gtk-doc }