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

pkgname=xfce4-genmon-plugin
pkgver=3.2
pkgrel=1gv
arch=i486
source=(http://goodies.xfce.org/releases/xfce4-genmon-plugin/xfce4-genmon-plugin-$pkgver.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
	make || return 1
	make install DESTDIR=$startdir/pkg
}