# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=krunner pkgver=5.76.0 pkgrel=0 pkgdesc="Framework for providing different actions given a string query" arch="all !armhf !mips64 !s390x" # armhf blocked by extra-cmake-modules and mips64, s390x blocked by polkit 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 plasma-framework-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 cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="93a4992f7fa462dcbc86db53e292ea49ae6b080cddc5d02bcd035e818464389f0212ab8d5d5f2a5a23a617b7bc3b3dcac77e8b8b4f81469b36ffd411579f310d krunner-5.76.0.tar.xz"