1 # Maintainer: Alexander Epaneshnikov <alex19ep@archlinux.org>
2 # Contributor: Brad Fanella <cesura@archlinux.org>
3 # Contributor: Martin Wimpress <code@flexion.org>
5 pkgname=mate-power-manager
8 pkgdesc="Power management tool for the MATE desktop"
9 url="https://mate-desktop.org"
12 depends=('dbus-glib' 'gettext' 'libcanberra' 'libnotify' 'upower' 'polkit' 'libsecret')
13 makedepends=('itstool' 'mate-panel' 'python')
14 optdepends=('mate-panel: Set brightness and inhibit power management from the panel')
15 source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
17 sha256sums=('71284aa579856958112f6e1471662124ba00fe040ec19419353118b8e790728b')
20 cd "${pkgname}-${pkgver}"
23 --libexecdir=/usr/lib/${pkgname} \
25 --localstatedir=/var \
34 cd "${pkgname}-${pkgver}"
35 make DESTDIR="${pkgdir}" install