summaryrefslogtreecommitdiffstats
path: root/extra/upower/Pkgfile
blob: 2d3b5d177ef26015620ae702f225901aa9191136 (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.11
release=1
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
}