#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=DeviceKit-power pkgver=014 pkgrel=1 zenver=64 arch=i686 source=("http://hal.freedesktop.org/releases/$pkgname-$pkgver.tar.gz" \ "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/01-lid-status-fallback.patch" \ "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/02-dkpclient-singleton.patch") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://hal.freedesktop.org/releases/ options=('norequiredbuilder' 'keepdepfile') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "DeviceKit-power (An abstraction for enumerating power devices)" "DeviceKit-power is an abstraction for enumerating power devices," "listening to device events and querying history and statistics." "Any application or service on the system can access the" "org.freedesktop.DeviceKit.Power service via the system message bus." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < ../01-lid-status-fallback.patch patch -p1 < ../02-dkpclient-singleton.patch ./configure --prefix=/usr --localstatedir=/var --enable-gtk-doc="no" \ --sysconfdir=/etc --disable-static make || return 1 make install DESTDIR=$startdir/pkg }