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

pkgname=xfce4-cpugraph-plugin
pkgver=1.2.10
_majorver=1.2
pkgrel=1gv
source=(http://archive.xfce.org/src/panel-plugins/xfce4-cpugraph-plugin/${_majorver}/xfce4-cpugraph-plugin-${pkgver}.tar.bz2)
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 \
		--build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
}