mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
24 lines
930 B
Bash
24 lines
930 B
Bash
# $Id: $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
# Contributor: Denis Zawada <deno@rootnode.net>
|
|
|
|
pkgname=devicekit-power
|
|
pkgver=009
|
|
pkgrel=1
|
|
pkgdesc="DeviceKit-power is an abstraction for enumerating power devices, listening to device events and querying history and statistics"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.freedesktop.org/wiki/Software/DeviceKit"
|
|
license=('GPL')
|
|
depends=('devicekit>=003' 'libusb>=0.1.12' 'policykit>=0.9')
|
|
makedepends=('gtk-doc' 'pkgconfig' 'intltool' 'docbook-xsl')
|
|
options=('!emptydirs' '!libtool')
|
|
source=("http://hal.freedesktop.org/releases/DeviceKit-power-${pkgver}.tar.gz")
|
|
md5sums=('535703fa7b9c323d6388b5aff28cfeeb')
|
|
|
|
build() {
|
|
cd "${srcdir}/DeviceKit-power-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
|
--libexecdir=/usr/lib/DeviceKit --disable-static || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|