upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / mate-power-manager / trunk / PKGBUILD
blobf8d5e765aa8713d5f89ce47b1f211928efccea4b
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
6 pkgver=1.27.0
7 pkgrel=1
8 pkgdesc="Power management tool for the MATE desktop"
9 url="https://mate-desktop.org"
10 arch=('x86_64')
11 license=('GPL')
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")
16 groups=('mate-extra')
17 sha256sums=('71284aa579856958112f6e1471662124ba00fe040ec19419353118b8e790728b')
19 build() {
20         cd "${pkgname}-${pkgver}"
21         ./configure \
22                 --prefix=/usr \
23                 --libexecdir=/usr/lib/${pkgname} \
24                 --sysconfdir=/etc \
25                 --localstatedir=/var \
26                 --sbindir=/usr/bin \
27                 --enable-applets \
28                 --disable-strict \
29                 --without-keyring
30         make
33 package() {
34         cd "${pkgname}-${pkgver}"
35         make DESTDIR="${pkgdir}" install