summaryrefslogtreecommitdiffstats
path: root/extra/upower/Pkgfile
blob: afd63655158b8712c33b3a97b350431b61e11df6 (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, dbus-glib, gobject-introspection
# Run on: libusb,polkit,dbus-glib

name=upower
version=0.9.9
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
}