# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kconfig pkgver=5.63.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" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kconfig-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E '(kconfigcore-kconfigtest|kconfigcore-kdesktopfiletest|kconfigcore-test_kconf_update)' } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="5585bffc0008b65fe8aecb968f57709eafc2aebf7196083a11672325bcd534396f6740a2dc47edb0918939dc7fa331d83158aa5c7332ffaeefcf597f65d2b7c6 kconfig-5.63.0.tar.xz"