2.42.9-1
[arch-packages.git] / powerdevil / trunk / PKGBUILD
blobafd025a2ab268264f5a7a1f7c86affff782c7bad
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=powerdevil
6 pkgver=5.25.4
7 pkgrel=1
8 pkgdesc='Manages the power consumption settings of a Plasma Shell'
9 arch=(x86_64)
10 url='https://kde.org/plasma-desktop/'
11 license=(LGPL)
12 depends=(plasma-workspace bluez-qt networkmanager-qt)
13 makedepends=(extra-cmake-modules kdoctools)
14 optdepends=('kinfocenter: for the Energy Information KCM' 'power-profiles-daemon: power profiles support')
15 groups=(plasma)
16 source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
17 sha256sums=('bd378ddcb5972bafae8a07c5116d0c2fa60bedb7516d007dbd86f5546297f6db'
18             'SKIP')
19 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D'  # Jonathan Esk-Riddell <jr@jriddell.org>
20               '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bshah@kde.org>
21               'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson <davidedmundson@kde.org>
22               '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
23 options=(debug)
25 build() {
26   cmake -B build -S $pkgname-$pkgver \
27     -DCMAKE_INSTALL_LIBEXECDIR=lib \
28     -DBUILD_TESTING=OFF
29   cmake --build build
32 package() {
33   DESTDIR="$pkgdir" cmake --install build