pmaports/temp/ksysguard/APKBUILD

30 lines
1.1 KiB
Text
Raw Normal View History

# Forked from Alpine to build Plasma 5.17 pre-release
pkgname=ksysguard
pkgver=5.16.90
pkgrel=0
pkgdesc="Track and control the processes running in your system"
arch="all !ppc64le !s390x !armhf" # Limited by libksysguard -> qt5-qtwebengine
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/unstable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # broken with cross-compiling
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="12a652111b4b854022dd9659d7248886ba54de0f586c26fe869a599a829f49f92b64a59f4f0b5a1c248eedc4180924f0a8a52c9a38c9920ccef0340c9e56327b ksysguard-5.16.90.tar.xz"