# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kinfocenter pkgver=9999_git1689478072 pkgrel=0 pkgdesc="A utility that provides information about a computer system" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/plasma-desktop/" license="(GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)" makedepends=" extra-cmake-modules glu-dev kcmutils-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdeclarative-dev kdoctools-dev ki18n-dev kiconthemes-dev kio-dev kpackage-dev kservice-dev kwayland-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev qt5-qtbase-dev samurai solid-dev solid-dev " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/kinfocenter-$pkgver.tar.xz" subpackages="$pkgname-doc " build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 2f4eea953f2c6d53ae3a0f38265fac71d68df9dd52261e63c8b2f8cd9d811b31b40a94e9230a041186a0cdf86726abc7504f32534bf2fc797739bc32dd9c9bdf kinfocenter-5.27.6.tar.xz " options="$options !strip"