# Contributor: Alan Lacerda # Maintainer: Francesco Colista pkgname=mate-power-manager pkgver=1.24.1 pkgrel=0 pkgdesc="A Power Manager for MATE" url="https://github.com/mate-desktop/mate-power-manager" arch="all !s390x" # mate-desktop 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 libunique-dev upower-dev libgnome-keyring-dev mate-panel-dev harfbuzz-dev polkit-dev" subpackages="$pkgname-doc $pkgname-lang" source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-power-manager-$pkgver.tar.xz 0001-execinfo-patch.patch 0001-removing-backtrace.patch 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="57bae519bfa2894bc6923bf0932f823bcabe2dc0de06dc6676597708482b369a24f39bb94558163f0fdcc2d764702b87f58abc1793679a1c7fb7f53be074bae5 mate-power-manager-1.24.1.tar.xz f7c97099144a077d00d0dbee0ed148fb7a82ea902a31b4607b3b37b07d26530dc06695c9ff9565ba457f754c2093610efa46965d0d28329cd23a7a061f1b4249 0001-execinfo-patch.patch 76364f42dbeceb0c13e957e83fe40873cc93f2d83497b658419765ea736a50f436515347960f5f30a021b55aef670fddce04787c892509b8c54995512a5dc1b7 0001-removing-backtrace.patch 76d93fb1313e3fabbd333d9ccb3a97907cea5292150aecf813ca32f4e434eab69f337ff7578ce3d0e940bb8fad28d1b13264bd6130cdaea7de618104c5826779 0001-get_nprocs-patch.patch"