1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
8 pkgdesc='Manages the power consumption settings of a Plasma Shell'
10 url='https://kde.org/plasma-desktop/'
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')
16 source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig}
17 https://invent.kde.org/plasma/powerdevil/-/commit/2ebe655d.patch)
18 sha256sums=('71b63a3135d60e2ad172cf72c2d095014b2ed97b8406124118ae6f410bb30fbb'
20 '3f03b8807acd3035ab5e6f1a1a3236d3b0146485e96b877f8d66a7a752e2a2e6')
21 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D' # Jonathan Esk-Riddell <jr@jriddell.org>
22 '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah@kde.org>
23 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson <davidedmundson@kde.org>
24 '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
28 patch -d $pkgname-$pkgver -p1 < 2ebe655d.patch # Fix changing screen brightness
32 cmake -B build -S $pkgname-$pkgver \
33 -DCMAKE_INSTALL_LIBEXECDIR=lib \
39 DESTDIR="$pkgdir" cmake --install build