# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=ksysguard pkgver=5.17.4 pkgrel=0 pkgdesc="Track and control the processes running in your system" arch="all" 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" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="90e34f7d93b0e5c03c77eeccbf5a19b5c1d5af71e9cbb7e77d5e5a802af76d10d9d832b1d71f088b74d8bc5a6e5612229a9710d874589fa69824843dd5b73bea ksysguard-5.17.4.tar.xz"