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

pkgname=xfce4-diskperf-plugin
pkgver=2.7.0
_majorver=`echo $pkgver | cut -d'.' -f 1,2`
pkgrel=1gv
source=("http://archive.xfce.org/src/panel-plugins/xfce4-diskperf-plugin/${_majorver}/xfce4-diskperf-plugin-${pkgver}.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-diskperf-plugin (a disk performance panel plugin for xfce)"
"This xfce4 plugin displays instant disk/partition performance (bytes"
"transfered per second)."
)


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
}