diff options
author | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2019-03-24 05:45:49 -0500 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2019-03-24 05:45:49 -0500 |
commit | 38fd24f80835aa4ad836fed6d5d0f3ef96356a2f (patch) | |
tree | 32b7f808d1fe3e5ca7ac54782cc67fc4601f21cc /user | |
parent | a27f0f4b1da55910faed7b602d267695bff6d433 (diff) | |
download | packages-38fd24f80835aa4ad836fed6d5d0f3ef96356a2f.tar.gz packages-38fd24f80835aa4ad836fed6d5d0f3ef96356a2f.tar.bz2 packages-38fd24f80835aa4ad836fed6d5d0f3ef96356a2f.tar.xz packages-38fd24f80835aa4ad836fed6d5d0f3ef96356a2f.zip |
user/mate-power-manager: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/mate-power-manager/APKBUILD | 39 |
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" |