aboutsummaryrefslogtreecommitdiffstats
path: root/community/ksysguard/APKBUILD
blob: 63e051b7c2106b03b3fe923f066aa678dd2b328a (plain) (blame)
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.20.0
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="db3fa91c7b9c578766a4011ad8e60d9c0028189f8505d101e4f0cf8e1bf63e951adcb0feba3825696b33b1fa2c958c0e8ac08575b66c3d1a9258508a87af7178  ksysguard-5.20.0.tar.xz"