# Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=upower pkgver=0.99.10 pkgrel=0 pkgdesc="Power Management Services" url="https://upower.freedesktop.org" arch="all" options="!check" # Requires running dbus. license="GPL-2.0+" depends="" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" makedepends="dbus-glib-dev docbook-xsl gobject-introspection-dev gtk+-dev intltool libgudev-dev libusb-dev libxslt linux-headers polkit-dev" source="https://gitlab.freedesktop.org/upower/upower/uploads/c438511024b9bc5a904f8775cfc8e4c4/upower-0.99.10.tar.xz" build() { DATADIRNAME=share ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/upower \ --disable-static \ --with-udevrulesdir=/lib/udev/rules.d make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="aefe1b2ff5a390f1ea9676fe7e753750bebc56034365a9183e946a8463904047da0a4ac71340eb2efedc16bce6f6d9ef4609ddca37dc1fc31b56bcdbfbbfa59d upower-0.99.10.tar.xz"