# Template file for 'kf6-kparts'
pkgname=kf6-kparts
version=6.25.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
 gettext kf6-kconfig"
makedepends="kf6-kconfig-devel kf6-kcoreaddons-devel kf6-ki18n-devel
 kf6-kio-devel kf6-kxmlgui-devel"
short_desc="KDE Plugin framework for user interface components"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kparts"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=f0d6346e3127d1e44506733113be467d8b50cb82731d300a57990dd09baaedf1

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