# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kconfig pkgver=5.65.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="4a15605ac1d573eb01acb06c83c1ad7dc64f1642f295ad162b460f32ef7c77eeab0d7fdf131057da04c669bbb4f35201f580c52b2f034c4bb0129bbf7775800b kconfig-5.65.0.tar.xz"