db-move: moved harfbuzz from [testing] to [extra] (x86_64)
[arch-packages.git] / powerdevil / trunk / PKGBUILD
blobb2cf88597c7ca216185cf19d5bb808b647def675
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.5
7 _dirver=$(echo $pkgver | cut -d. -f1-3)
8 pkgrel=1
9 pkgdesc='Manages the power consumption settings of a Plasma Shell'
10 arch=(x86_64)
11 url='https://kde.org/plasma-desktop/'
12 license=(LGPL)
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')
19 groups=(plasma)
20 source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz{,.sig})
21 sha256sums=('0379862c57efef4ce980f6c9583d66deafde1ed522f0e129aa50cef038fb500e'
22             'SKIP')
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>
28 build() {
29   cmake -B build -S $pkgname-$pkgver \
30     -DCMAKE_INSTALL_LIBEXECDIR=lib \
31     -DBUILD_TESTING=OFF
32   cmake --build build
35 package() {
36   DESTDIR="$pkgdir" cmake --install build