# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcmutils pkgver=5.62.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%.*}/kcmutils-$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="f5eacd05256a86d60f3496ce684343a0a62ff3bc91abacd2afe30948996b54aa96deb358f5c802f4bc69a2e5cdfb1a690523adec6dc4bd9165f5112232e1f430 kcmutils-5.62.0.tar.xz"