# Template file for 'kf6-kdecoration'
pkgname=kf6-kdecoration
version=6.2.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules gettext qt6-base qt6-tools"
makedepends="kf6-ki18n-devel kf6-kcoreaddons-devel"
short_desc="KDE Plugin based library to create window decorations"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/plasma/kdecoration"
distfiles="${KDE_SITE}/plasma/${version}/kdecoration-${version}.tar.xz"
checksum=05d0d38ee55c922db135fd864e35c4742988a7b26516a341b824e9804960c919

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