1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
7 _dirver=$(echo $pkgver | cut -d. -f1-3)
9 pkgdesc='Manages the power consumption settings of a Plasma Shell'
11 url='https://kde.org/plasma-desktop/'
13 depends=(plasma-workspace)
14 makedepends=(extra-cmake-modules kdoctools bluez-qt networkmanager-qt)
15 optdepends=('kinfocenter: for the Energy Information KCM'
16 'power-profiles-daemon: power profiles support'
17 'networkmanager-qt: wireless power saving actions'
18 'bluez-qt: wireless power saving actions')
20 source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz{,.sig})
21 sha256sums=('0379862c57efef4ce980f6c9583d66deafde1ed522f0e129aa50cef038fb500e'
23 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D' # Jonathan Esk-Riddell <jr@jriddell.org>
24 '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah@kde.org>
25 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson <davidedmundson@kde.org>
26 '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
29 cmake -B build -S $pkgname-$pkgver \
30 -DCMAKE_INSTALL_LIBEXECDIR=lib \
36 DESTDIR="$pkgdir" cmake --install build