summaryrefslogtreecommitdiff
path: root/user/mate-power-manager/APKBUILD
blob: bd0eee4aac27057d903a2551e48035134298bc65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=mate-power-manager
pkgver=1.26.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 libsecret-dev
	libxml2-utils mate-panel-dev upower-dev wayland-protocols"
subpackages="$pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-power-manager-$pkgver.tar.xz"

build() {
	LIBS="-lexecinfo" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="1ddede827f72738e87870d2abeed7f0767ef2e383b8325b24faa0fd1e811ed634446516e6634b19a6546ddd7185092fd757b2b2ff97f51b88a9d2c313407abd4  mate-power-manager-1.26.0.tar.xz"