# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kconfigwidgets pkgver=5.60.0 pkgrel=0 pkgdesc="Widgets for KConfig" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1-only AND LGPL-2.1-or-later" depends_dev="kauth-dev kcoreaddons-dev kcodecs-dev kconfig-dev kguiaddons-dev ki18n-dev kwidgetsaddons-dev" makedepends="$depends_dev extra-cmake-modules kdoctools-dev doxygen qt5-qttools-dev" checkdepends="xvfb-run" 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 xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="393e9cc775ce8e8046927fd0c1d0ab55116ce104f6b053044cc043cc7ad5835a9191900c21007779e9b97bf584cf72298cd66486cd2b11fe474f0ddea37c26cc kconfigwidgets-5.60.0.tar.xz"