# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=ksysguard pkgver=5.22.0 pkgrel=1 pkgdesc="Track and control the processes running in your system" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://userbase.kde.org/KSysGuard" license="GPL-2.0-only" makedepends=" eudev-dev extra-cmake-modules kconfig-dev kcoreaddons-dev kdbusaddons-dev kdoctools-dev ki18n-dev kiconthemes-dev kinit-dev kio-dev kitemviews-dev knewstuff-dev knotifications-dev kwindowsystem-dev libksysguard-dev libnl3-dev libpcap-dev lm-sensors-dev networkmanager-qt-dev samurai " source="https://download.kde.org/stable/ksysguard/$pkgver/ksysguard-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" 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=" 07314366506d029206e6fba934eefc8d338e52ab0f8f79747c189a9f856e13f32c7b156bd49ccf1ab2bef5c37fb05924022606bae6bbf2eb4628043d7c2579a2 ksysguard-5.22.0.tar.xz "