# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcmutils pkgver=5.59.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="c90e6e7b082bc8a5db6991041a5ccd330d4dd5e158566bb7f473af6260108a7be20211cd1150d5f7d052b448a1d059d2ff87724548faa9af4426a75995abec1f kcmutils-5.59.0.tar.xz"