# Template file for 'kf6-kplotting'
pkgname=kf6-kplotting
version=6.10.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=6941d93019bfb1e9977cfa592ba110fbf9c3b7f247af40f336e040071f922d3f

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"
	}
}
