summaryrefslogtreecommitdiff
path: root/user/mate-power-manager/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/mate-power-manager/APKBUILD')
-rw-r--r--user/mate-power-manager/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/mate-power-manager/APKBUILD b/user/mate-power-manager/APKBUILD
new file mode 100644
index 000000000..10fec58b7
--- /dev/null
+++ b/user/mate-power-manager/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=mate-power-manager
+pkgver=1.22.0
+pkgrel=0
+pkgdesc="Power management utility for the MATE desktop environment"
+url="https://mate-desktop.org"
+arch="all"
+license="GPL-2.0+ AND LGPL-2.0+"
+depends=""
+makedepends="dbus-dev dbus-glib-dev intltool itstool libcanberra-dev
+ libexecinfo-dev libgnome-keyring-dev libnotify-dev libxml2-utils
+ mate-panel-dev upower-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-power-manager-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ LIBS="-lexecinfo" ./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
+}
+
+sha512sums="d36ec8d328e00ccc14b26c36ded74f20ea80578870541899560c6a744018e5e91b08ec9b4d517548404e82da6f1868ed1f2fcc0aada1223f98e68dd6e6009503 mate-power-manager-1.22.0.tar.xz"