1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Abstraction for enumerating power devices, listening to device events and querying history and statistics"
8 url="https://upower.freedesktop.org"
11 depends=(systemd libimobiledevice libgudev)
12 makedepends=(docbook-xsl gobject-introspection python git gtk-doc)
13 backup=(etc/UPower/UPower.conf)
14 _commit=0f6cc0a10be22d7ddd684e1cd851e4364a440494 # tags/UPOWER_0_99_13^0
15 source=("git+https://gitlab.freedesktop.org/upower/upower.git#commit=$_commit")
20 git describe --tags | sed -e 's/UPOWER_//' -e 's/_/\./g' -e 's/-/+/g'
25 NOCONFIGURE=1 ./autogen.sh
33 --localstatedir=/var \
34 --libexecdir=/usr/lib \
42 make DESTDIR="$pkgdir" install