summaryrefslogtreecommitdiffstats
path: root/extra/upower/Pkgfile
blob: a0ef2f29796b216a3346a3206b17df0667d55903 (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.10
release=3
source=(http://upower.freedesktop.org/releases/$name-$version.tar.bz2)

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

	make
	make DESTDIR=$PKG install
}