summaryrefslogtreecommitdiffstats
path: root/extra/upower/Pkgfile
blob: 26bfd66637e5f9b2f7951f557e3113c44a37d82f (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.12
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
}