pkgname=powerdevil pkgver=6.0.4 pkgrel=1 pkgdesc="Manages the power consumption settings of a Plasma Shell" arch=('x86_64') url="https://kde.org/plasma-desktop" license=('LGPL-2.0-or-later') groups=('plasma') depends=('gcc-libs' 'glibc' 'plasma-activities' 'kauth' 'kcmutils' 'kconfig' 'kcoreaddons' 'kcrash' 'kdbusaddons' 'kglobalaccel' 'ki18n' 'kidletime' 'kirigami' 'kitemmodels' 'knotifications' 'ksvg' 'kwindowsystem' 'kxmlgui' 'layer-shell-qt' 'libkscreen' 'libplasma' 'libxcb' 'plasma-workspace' 'qt6-qtbase' 'qt6-qtdeclarative' 'solid' 'systemd') makedepends=('extra-cmake-modules' 'cmake' 'kdoctools') source=(https://download.kde.org/stable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz) sha256sums=(1773b62181909831d24c9141a3fdd8e96a09cf08bd435a9d9a8605946b0f2559) build() { cd ${pkgname}-${pkgver} cmake -B flarebird-build -Wno-dev \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBEXECDIR=libexec \ -DKDE_INSTALL_LIBDIR=lib64 \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_QT5=OFF \ -DBUILD_TESTING=OFF cmake --build flarebird-build } package() { cd ${pkgname}-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }