db-move: moved webkit2gtk from [testing] to [extra] (x86_64)
[arch-packages.git] / powerdevil / repos / extra-x86_64 / PKGBUILD
blob611be3d8d378880e11a05f440f2ab3cb276ce2b7
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.27.4.1
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)
13 makedepends=(extra-cmake-modules kdoctools bluez-qt networkmanager-qt)
14 optdepends=('kinfocenter: for the Energy Information KCM'
15             'power-profiles-daemon: power profiles support'
16             'networkmanager-qt: wireless power saving actions'
17             'bluez-qt: wireless power saving actions')
18 groups=(plasma)
19 source=(https://download.kde.org/stable/plasma/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
20 sha256sums=('644994c77d071480d9df221b1d8f798ecc468380c174da24a3271ce5d83cd368'
21             'SKIP')
22 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D'  # Jonathan Esk-Riddell <jr@jriddell.org>
23               '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah <bshah@kde.org>
24               'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson <davidedmundson@kde.org>
25               '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
27 build() {
28   cmake -B build -S $pkgname-$pkgver \
29     -DCMAKE_INSTALL_LIBEXECDIR=lib \
30     -DBUILD_TESTING=OFF
31   cmake --build build
34 package() {
35   DESTDIR="$pkgdir" cmake --install build