# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-systemmonitor pkgver=9999_git1689478133 pkgrel=0 pkgdesc="An application for monitoring system resources" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/plasma-desktop/" license="LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL AND CC0-1.0" depends=" kirigami2 ksystemstats " makedepends=" extra-cmake-modules kconfig-dev kdbusaddons-dev kdeclarative-dev kglobalaccel-dev ki18n-dev kio-dev kitemmodels-dev knewstuff-dev kservice-dev libksysguard-dev qt5-qtbase-dev qt5-qtdeclarative-dev samurai " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-systemmonitor-$pkgver.tar.xz" subpackages="" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build # ksystemstatstest is broken CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "ksystemstatstest" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 5341b7ff885818af88f75c7022b126c10a2d08440fc831c65fc68fdc6ec92a9e3474cc51962732d8b8ea7435a8bb7750eb0ec48299c060b0e97a250533886fdb plasma-systemmonitor-5.27.6.tar.xz " options="$options !strip"