# Template file for 'kf6-knewstuff'
pkgname=kf6-knewstuff
version=6.25.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
 -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
 qt6-declarative-host-tools gettext kf6-kconfig kf6-kpackage"
makedepends="kf6-attica-devel kf6-karchive-devel kf6-kconfig-devel
 kf6-kcoreaddons-devel kf6-ki18n-devel kf6-kpackage-devel
 kf6-kwidgetsaddons-devel kf6-syndication-devel"
short_desc="KDE Framework for downloading and sharing additional application data"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/knewstuff"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=8c31ef25a7d7389473d12245ae564ad888467b8ef910ac212e16e9334540cd08

kf6-knewstuff-devel_package() {
	depends="${sourcepkg}>=${version}_${revision} qt6-base-devel
	 kf6-kcoreaddons-devel kf6-attica-devel"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
