From 0de89000c3dfd5ba478efe987afa7f264208e367 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Sat, 18 Aug 2018 17:01:55 -0500 Subject: user/xfce4-power-manager: new package --- user/xfce4-power-manager/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 user/xfce4-power-manager/APKBUILD diff --git a/user/xfce4-power-manager/APKBUILD b/user/xfce4-power-manager/APKBUILD new file mode 100644 index 000000000..dc6232180 --- /dev/null +++ b/user/xfce4-power-manager/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Kiyoshi Aman +# Maintainer: Kiyoshi Aman +pkgname=xfce4-power-manager +pkgver=1.6.1 +pkgrel=0 +pkgdesc="Power management support for the XFCE desktop environment" +url="https://xfce.org" +arch="all" +license="GPL-2.0+" +makedepends="intltool gtk+3.0-dev libxfce4ui-dev libice-dev libnotify-dev + upower-dev xfce4-panel-dev" +subpackages="$pkgname-doc $pkgname-lang" +langdir="/usr/lib/locale" +source="http://archive.xfce.org/src/xfce/xfce4-power-manager/1.6/xfce4-power-manager-$pkgver.tar.bz2" +sha512sums="b81ce1b35892a6cd0b1d4fb590ccc25b906cde6f782de2fffbe78ea89e00df15e51ea1f47576c173b7512cd617f5142868fca8cf81519b6fe165a5ecc67a5478 xfce4-power-manager-1.6.1.tar.bz2" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + -- cgit v1.2.3-70-g09d2