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

pkgname=xfce4-power-manager
pkgver=0.8.3.1
pkgrel=2gv
arch=i486
source=(http://archive.xfce.org/src/apps/xfce4-power-manager/0.8/xfce4-power-manager-$pkgver.tar.bz2)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://goodies.xfce.org/projects/applications/xfce4-power-manager
options=('noautodotnew')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-power-manager - power manager for the Xfce desktop"
"Xfce power manager manages the power sources on the computer and the"
"devices that can be controlled to reduce their power consumption (such"
"as LCD brightness level, monitor sleep, CPU frequency scaling). In"
"addition, xfce4-power-manager provides a set of freedesktop-compliant"
"DBus interfaces to inform other applications about current power level"
"so that they can adjust their power consumption, and it provides the"
"inhibit interface which allows applications to prevent automatic sleep"
"actions via the power manager."
)


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