summaryrefslogtreecommitdiff
path: root/user/xfce4-power-manager
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-18 17:01:55 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-18 17:32:54 -0500
commit0de89000c3dfd5ba478efe987afa7f264208e367 (patch)
tree43dfe8bd3f46d3a2774c8443580edb6fc53ce7b1 /user/xfce4-power-manager
parent6ecf6e5df87bfb7eafce8dd6024f38d3131f08d3 (diff)
downloadpackages-0de89000c3dfd5ba478efe987afa7f264208e367.tar.gz
packages-0de89000c3dfd5ba478efe987afa7f264208e367.tar.bz2
packages-0de89000c3dfd5ba478efe987afa7f264208e367.tar.xz
packages-0de89000c3dfd5ba478efe987afa7f264208e367.zip
user/xfce4-power-manager: new package
Diffstat (limited to 'user/xfce4-power-manager')
-rw-r--r--user/xfce4-power-manager/APKBUILD38
1 files changed, 38 insertions, 0 deletions
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 <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+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
+}
+