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
|
2017-03-06 18:29:04 +01:00
|
|
|
# Packager: yasarciv
|
2016-02-24 01:27:23 +01:00
|
|
|
# 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
|
|
|
|
}
|