# Contributor: Alan Lacerda # Maintainer: Francesco Colista pkgname=mate-power-manager pkgver=1.26.1 pkgrel=0 pkgdesc="A Power Manager for MATE" url="https://github.com/mate-desktop/mate-power-manager" arch="all" license="GPL-2.0-or-later" makedepends="$depends_dev intltool gettext-dev itstool glib-dev libcanberra-dev dbus-glib-dev mate-desktop-dev dconf-dev libnotify-dev upower-dev mate-panel-dev harfbuzz-dev polkit-dev libsecret-dev" subpackages="$pkgname-doc $pkgname-lang" source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-power-manager-$pkgver.tar.xz 0001-get_nprocs-patch.patch " build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --sysconfdir=/etc \ --prefix=/usr \ --enable-static=no make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums=" 82bac7d32a94b3fa64c68973bd72b9a88b73d8368fc179ea0958e4b7d0021707394bc5dadaed23cc074e441ae4a753ba73ad5ba9030a276b87ac8b410a5fb37d mate-power-manager-1.26.1.tar.xz 76d93fb1313e3fabbd333d9ccb3a97907cea5292150aecf813ca32f4e434eab69f337ff7578ce3d0e940bb8fad28d1b13264bd6130cdaea7de618104c5826779 0001-get_nprocs-patch.patch "