Date: Friday, February 9, 2018 @ 07:37:19 Author: arojas Revision: 290437
archrelease: copy trunk to community-staging-x86_64 Added: mate-power-manager/repos/community-staging-x86_64/ mate-power-manager/repos/community-staging-x86_64/PKGBUILD (from rev 290436, mate-power-manager/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: mate-power-manager/repos/community-staging-x86_64/PKGBUILD (from rev 290436, mate-power-manager/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-02-09 07:37:19 UTC (rev 290437) @@ -0,0 +1,36 @@ +# Maintainer: +# Contributor: Martin Wimpress <c...@flexion.org> + +pkgname=mate-power-manager +pkgver=1.20.0 +pkgrel=1 +pkgdesc="Power management tool for the MATE desktop" +url="https://mate-desktop.org" +arch=('x86_64') +license=('GPL') +depends=('dbus-glib' 'libcanberra' 'libgnome-keyring' 'libnotify' 'upower') +makedepends=('intltool' 'itstool' 'mate-panel' 'python') +optdepends=('mate-panel: Set brightness and inhibit power management from the panel') +source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz") +groups=('mate-extra') +conflicts=('mate-power-manager-gtk3') +replaces=('mate-power-manager-gtk3') +sha256sums=('9c2feb97c606e02a44d976584f4f4cca5cd4d3bde48e14c39d156f3c0b160c0d') + +build() { + cd ${pkgname}-${pkgver} + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --sbindir=/usr/bin \ + --enable-applets \ + --disable-strict + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install +}