2016-02-24 01:27:23 +01:00
|
|
|
# Description: To enumerating power devices, listening to device events, querying history and statistics
|
|
|
|
# URL: http://upower.freedesktop.org
|
|
|
|
# Maintainer: Richard Hughes, richard at hughsie dot com
|
|
|
|
# Packager: pierre at nutyx dot org, tnut at nutyx dot org
|
|
|
|
# Depends on: dbus-glib libusb intltool polkit gobject-introspection libgudev pm-utils
|
|
|
|
|
|
|
|
name=upower
|
2017-03-06 17:56:40 +01:00
|
|
|
version=0.9.23
|
2016-02-24 01:27:23 +01:00
|
|
|
release=1
|
|
|
|
|
|
|
|
source=(http://upower.freedesktop.org/releases/$name-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--enable-deprecated \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--disable-static
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|