summaryrefslogtreecommitdiffstats
path: root/extra/upower/Pkgfile
blob: 1581be20ae6306552f8a8bc772f9b9686604739a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: Enumerateur des dispositifs energetique, écoute des événements, interrogation de l'historique et des statistiques
# URL: http://upower.freedesktop.org
# Maintainer: NuTyX core team
# Packager: lesibel at free dot fr
# Depends on: libusb, polkit, devicekit, dbus-glib, gobject-introspection, pm-utils
# Run on: libusb,polkit,devicekit,dbus-glib,pm-utils

name=upower
version=0.9.13
release=1
source=(http://upower.freedesktop.org/releases/$name-$version.tar.xz)

build() {
	cd $name-$version
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
      		--libexecdir=/usr/lib/upower \
		--disable-static \
		--enable-introspection

	make
	make DESTDIR=$PKG install
}