aboutsummaryrefslogtreecommitdiffstats
path: root/community/ksysguard/APKBUILD
blob: b5cd4ef561256155bea8aee5a233829d0e120901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=ksysguard
pkgver=5.19.2
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"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-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 --build build --target install
}
sha512sums="ab9c8c1daba482c50b38dd35e8d1504634098a6339a65e542ecf98727b8d77b328520215f7008067084607b42a2c7fbc85e8c4102889108ff27d93fa4f7efc39  ksysguard-5.19.2.tar.xz"