summaryrefslogblamecommitdiff
path: root/user/mate-power-manager/APKBUILD
blob: 2edce231d74075a3e1ac8d9275dd3b0fcd51cbed (plain) (tree)
1
2
3
4

                                                         
                          
             

































                                                                                             
                                                                                                                                                                               
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=mate-power-manager
pkgver=1.22.2
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="99a273558c072ce1d23c8964d9292f45a29a2d5a5e89b504e79e3686a65ad8cc7b200441ba22147d3d828f574e2cebc260c47531338e286b2c47988263763af6  mate-power-manager-1.22.2.tar.xz"