# Template file for 'kf6-kunitconversion'
pkgname=kf6-kunitconversion
version=6.8.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
 gettext"
makedepends="kf6-ki18n-devel"
short_desc="KDE Converting physical units"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kunitconversion"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=e620547881e635cc8aa9771a6eca9a97a6cb40925ac075d33ef7744facc1d954

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