archrelease: copy trunk to extra-x86_64
[arch-packages.git] / powerdevil / trunk / PKGBUILD
blob348c4d055eacba0015c28efe0aace6fe22288c18
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.3
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=('c807d4ddfa173a7bf2b6d6476eec21d6359386d7e0b7f99fe75595674ab56c99'
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