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

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

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-systemload-plugin - a systemload panel plugin for xfce"
"A system load plugin for the Xfce4 desktop environment, written by"
"Riccardo Persichetti. It displays the current CPU load, the memory in"
"use, the swap space and the system uptime in the Xfce4 panel."
)


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
}