# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=krunner pkgver=5.69.0 pkgrel=0 pkgdesc="Framework for providing different actions given a string query" arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://community.kde.org/Frameworks" license="LGPL-2.1-only AND LGPL-2.1-or-later" depends_dev="qt5-qtbase-dev kconfig-dev kcoreaddons-dev ki18n-dev kio-dev kservice-dev plasma-framework-dev threadweaver-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/krunner-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" options="!check" # Requires running dbus instance build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="e4dceb3ea88079b77093b59aefd3a45a1d71fab42a85210b0dce053606183201cffb51e86f03ab219e49f43c33e9089c2593bf0ee6de3aee6601b96d0e7a60be krunner-5.69.0.tar.xz"