# Template file for 'kcompletion' pkgname=kcompletion version=5.84.0 revision=1 build_style=cmake hostmakedepends="kcoreaddons extra-cmake-modules" makedepends="kconfig-devel kwidgetsaddons-devel" short_desc="KDE Powerful completion framework" maintainer="John " license="LGPL-2.0-or-later" homepage="https://invent.kde.org/frameworks/kcompletion" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=7a9314d37c98a7c67f8e40af5c9c02b6bbfe2afdb0512f89edeee2c1860b72cd if [ "CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools-devel" fi kcompletion-devel_package() { short_desc+=" - development" depends="${makedepends} ${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/include vmove usr/lib/qt5/mkspecs vmove usr/lib/qt5/plugins/designer vmove usr/lib/cmake vmove "usr/lib/*.so" } }