# Template file for 'kirigami2'
pkgname=kirigami2
version=5.115.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules qt5-qmake qt5-host-tools"
makedepends="qt5-devel qt5-declarative-devel qt5-svg-devel qt5-quickcontrols2-devel
 qt5-tools-devel"
depends="qt5-graphicaleffects"
short_desc="Kirigami is KDE’s lightweight user interface framework"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.0-or-later"
homepage="https://techbase.kde.org/Kirigami"
distfiles="${KDE_SITE}/frameworks/${version%.*}/kirigami2-${version}.tar.xz"
checksum=15e242fa05869c33ef4b1ecd02b09feecd050902079f24762ebe03a210c0a2b9

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