summaryrefslogblamecommitdiff
path: root/user/mate-power-manager/APKBUILD
blob: 10fec58b7d7711e0026df667e674e46ae3f56d2f (plain) (tree)






































                                                                                                                                                                               
# 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"