# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcmutils pkgver=5.69.0 pkgrel=0 pkgdesc="Utilities for interacting with KCModules" arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://community.kde.org/Frameworks" license="LGPL-2.1-only AND LGPL-2.1-or-later" depends_dev="kitemviews-dev kconfigwidgets-dev kcoreaddons-dev ki18n-dev kiconthemes-dev kservice-dev kxmlgui-dev kdeclarative-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kcmutils-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="a4af331b043c8901f1d425a34cfe6ff94f7bf2a95b9732cf1c0cb6cb39d26a6553cc5a12693b0f0b4d1b7dba76cd51fc9913b78a083186b0a5850d4a056af4bd kcmutils-5.69.0.tar.xz"