# Template file for 'kf6-kcompletion'
pkgname=kf6-kcompletion
version=6.25.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base kf6-kconfig"
makedepends="kf6-kcodecs-devel kf6-kconfig-devel kf6-kwidgetsaddons-devel"
short_desc="KDE completion framework"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kcompletion"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=e4138d525eb9e27a9222d655e412c0de8b4bd7b34289d1c7ca5a808e20b53238

kf6-kcompletion-devel_package() {
	depends="$makedepends ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
