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

pkgname=xfce4-cpugraph-plugin
pkgver=0.4.0
pkgrel=1gv
arch=i486
source=(http://goodies.xfce.org/releases/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-$pkgver.tar.gz)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://goodies.xfce.org/projects/panel-plugins/xfce4-cpugraph-plugin

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-cpugraph-plugin - a cpu graph panel plugin for xfce"
"Written by Alexander Nordfelth, this new systemload plugin offers"
"multiple display modes (LED, gradient, fire, etc...) to show the"
"current CPU load of the system. The colors and the size of the plugin"
"are customizable."
)


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