# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=ksysguard pkgver=5.17.3 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="79523a2bd77546c03237991111e706d06fc073c7d1bcdb433c0a24b575e178b466b296bae5d78734c39207b384e1f55e137192c8c7f6bd8a7d1b58cece0164a1 ksysguard-5.17.3.tar.xz"