#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=xfce4-genmon-plugin
pkgver=3.4
pkgrel=3gv
source=("http://archive.xfce.org/src/panel-plugins/xfce4-genmon-plugin/3.4/xfce4-genmon-plugin-3.4.0.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://goodies.xfce.org/projects/panel-plugins/xfce4-genmon-plugin

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-genmon-plugin (a general monitor plugin for xfce)"
"This plugin cyclically spawns the indicated script/program, captures"
"its output (stdout) and displays the resulting string into the panel."
"It can also display a picture, a bar, a tooltip and a button. So it"
"can be used to display various informations about the system:"
"Temperatures, CPU Speed, Battery status... You simply have to develop"
"a little script or get the examples provided in the package."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--disable-debug \
		--build=$arch-slackware-linux
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
}