# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcmutils pkgver=5.61.0 pkgrel=0 pkgdesc="Utilities for interacting with KCModules" arch="all" 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%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="89eea2a32310e00f126a1bc00073c0870ffeb6c858d18ad86714f6871983a2d2d4929d73625a1fce8df143c9ffbd07f7d842efd943d4d5d288929f331a718f61 kcmutils-5.61.0.tar.xz"