pkgname=krunner pkgver=5.37.0 pkgrel=1 pkgdesc='Framework for providing different actions given a string query' arch="all" url='https://community.kde.org/Frameworks' license="GPL" depends="plasma-framework threadweaver" makedepends="extra-cmake-modules kdoctools-dev python qt5-qttools-dev plasma-framework-dev threadweaver-dev kactivities-dev kbookmarks-dev kcompletion-dev kjobwidgets-dev solid-dev kxmlgui-dev kpackage-dev qt5-qtdeclarative-dev kconfig-dev kcoreaddons-dev ki18n-dev kservice-dev kwidgetsaddons-dev kitemviews-dev kconfigwidgets-dev kauth-dev kcodecs-dev kwindowsystem-dev kio-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" subpackages="$pkgname-dev $pkgname-doc" prepare() { mkdir $srcdir/build } build() { cd $srcdir/build cmake "$srcdir"/${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF \ -DBUILD_QCH=ON make } package() { cd $srcdir/build make DESTDIR="${pkgdir}" install } sha512sums="68e046bd62258d8ea55598959d6a0e9aa8f3686f9e2e023cec1c848b7683a001d0f2c09bc88bd3f86283868ed90c2d984a000899ad86348f96c1dda7559677dc krunner-5.37.0.tar.xz"