upower.guncellendi

This commit is contained in:
milisarge 2017-03-08 04:21:32 +02:00
parent e9d72cef4b
commit 7e90a0df7d
1 changed files with 6 additions and 10 deletions

View File

@ -1,6 +1,6 @@
# Description: To enumerating power devices, listening to device events, querying history and statistics
# URL: http://upower.freedesktop.org
# Packager: yasarciv
# Packager: yasarciv milisarge
# Depends on: dbus-glib libusb intltool polkit gobject-introspection libgudev pm-utils
name=upower
@ -11,15 +11,11 @@ source=(http://$name.freedesktop.org/releases/$name-$version.tar.xz
build() {
cd $name-$version
patch -p 1 -i $SRC/fix-critical-action.patch
./configure \
--prefix=/usr \
--sysconfdir=/usr/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/$name \
--disable-man-pages
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-deprecated \
--localstatedir=/var \
--disable-static
make
make DESTDIR=$PKG install