# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=ksysguard pkgver=5.18.4 _pkgver=5.18.4.1 pkgrel=0 pkgdesc="Track and control the processes running in your system" arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://userbase.kde.org/KSysGuard" license="GPL-2.0-only" makedepends="extra-cmake-modules kconfig-dev kcoreaddons-dev kdbusaddons-dev kdoctools-dev ki18n-dev kiconthemes-dev kinit-dev kitemviews-dev kio-dev knewstuff-dev knotifications-dev kwindowsystem-dev libksysguard-dev" source="https://download.kde.org/stable/plasma/$pkgver/ksysguard-$_pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" builddir="$srcdir/$pkgname-$_pkgver" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="2c2bb6596987effe558eeafe855a4914186da815a7688b68c75bf44daa29e5153b0cae4b2692f780fe2001042dbb12568e3c708b711c179f93fb7110f50dc696 ksysguard-5.18.4.1.tar.xz"