# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kconfig pkgver=5.58.0 pkgrel=0 pkgdesc="Configuration system" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.1-or-later" makedepends="extra-cmake-modules qt5-qttools-dev doxygen" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" options="!check" # Fails due to requiring running X11 build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -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="bdcd7b28734406ea5bc8e323659cae99754ca0da799a97d20a0e56ae74386cbec9bdaa447ab1b445bf137dfe928bece0c28a7630a1856eee9d822e6b01783c19 kconfig-5.58.0.tar.xz"