#Packager: Shador pkgname=conky pkgver=1.8.1 pkgrel=1ab source=("http://downloads.sourceforge.net/project/conky/conky/$pkgver/conky-$pkgver.tar.bz2") sourcetemplate="http://gaia.homelinux.org/salix/slkbuilds/$pkgname/" docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url='http://conky.sourceforge.net/' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (a free, light-weight system monitor for X)" "Conky is free software and runs in X on Linux and BSD. Originally a" "fork of Torsmo, Conky's torsmo-based code is BSD licensed. New code in" "Conky has been licensed under the GPL 3.0." "Since its inception, Conky has changed significantly from its" "predecessor, while maintaining simplicity and configurability. Conky" "can display just about anything, either on your root desktop or in its" "own window. Not only does Conky have many built-in objects, it can" "also display just about any piece of information by using scripts and" "other external programs." ) build() { set -e cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --enable-ibm \ --enable-curl \ --enable-rss \ --enable-weather-metar \ --enable-weather-xoap \ --enable-wlan \ --enable-imlib2 \ --enable-lua \ --with-x \ --build=$arch-slackware-linux || return 1 make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg || return 1 for i in $startdir/pkg/usr/lib${LIBDIRSUFFIX}{/conky,}; do [ -z $(find $i -mindepth 1) ] && rmdir $i done set +e }