From 38fd24f80835aa4ad836fed6d5d0f3ef96356a2f Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Sun, 24 Mar 2019 05:45:49 -0500 Subject: user/mate-power-manager: new package --- user/mate-power-manager/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 user/mate-power-manager/APKBUILD (limited to 'user/mate-power-manager') 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 +# Maintainer: Kiyoshi Aman +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" -- cgit v1.2.3-70-g09d2