summaryrefslogblamecommitdiff
path: root/user/mate-power-manager/APKBUILD
blob: 3a9c2462087a0fef087d5b2b703d08f5f4678e2c (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.24.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() {
	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="6194d1156a004c1006b3b0b5d50a4def5e6d07df5229aafac487843e4e544e144b85e2a9b45ee0b932b8de9a6969aa844f8f61ac607f9f5e6234fd4ff5d8a4d5  mate-power-manager-1.24.0.tar.xz"