# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=systemsettings pkgver=9999_git1689218735 pkgrel=0 pkgdesc="Plasma system manager for hardware, software, and workspaces" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://kde.org/plasma-desktop/" license="GPL-2.0-or-later" depends="kirigami2" makedepends=" extra-cmake-modules kactivities-dev kactivities-stats-dev kcmutils-dev kconfig-dev kcrash-dev kdbusaddons-dev kdeclarative-dev kdoctools-dev khtml-dev ki18n-dev kiconthemes-dev kio-dev kirigami2-dev kitemviews-dev kpackage-dev kservice-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev plasma-workspace-dev qt5-qtbase-dev qt5-qtdeclarative-dev samurai " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/systemsettings-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-zsh-completion " 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=" 7b9e732d3acf7423e92a0c686433b4445bdfe42bc97883b5ba2bb6aaa184a8492c5b0e456a8d140ac4ef0c95dfa86184e41ab92f9ac27aa0cbb4f4441fa758e2 systemsettings-5.27.6.tar.xz " options="$options !strip"