# Template file for 'kf6-kplotting'
pkgname=kf6-kplotting
version=6.8.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base "
makedepends="qt6-base-devel qt6-tools-devel"
short_desc="QWidget-derived class for easy data-plotting"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kplotting"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=736c95f7761ca062585ed2b5b72656b9bb6a5e706548cbd9f07da4f62c8fba8b

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