# Contributor: Ɓukasz Jendrysik # Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=xfce4-power-manager pkgver=1.6.2 pkgrel=0 pkgdesc="Power management for the Xfce desktop environment" url="http://goodies.xfce.org/projects/applications/xfce4-power-manager" arch="all" license="GPL-2.0-or-later" depends="polkit" makedepends="xfconf-dev xfce4-panel-dev dbus-glib-dev libnotify-dev libxrandr-dev libxfce4ui-dev upower-dev" subpackages="$pkgname-doc $pkgname-lang" source="https://archive.xfce.org/src/apps/xfce4-power-manager/${pkgver%.*}/$pkgname-$pkgver.tar.bz2" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="d1c475ad3cf194c19a2ad1decc4c80a9f504d74b64dec71887c14c576cd5a2932799cd0068f6356a15590fa67c6d0434401ad36b7a2fa6a3b62d51290cd7b68c xfce4-power-manager-1.6.2.tar.bz2"