# Template file for 'kdbusaddons'
pkgname=kdbusaddons
version=5.50.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-tools-devel"
makedepends="qt5-devel qt5-tools-devel qt5-x11extras-devel"
short_desc="KDE Convenience classes for DBus"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/kdbusaddons"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=d54fbcec8709a6f4307b85c5e75e91d6ac96b441e0c13b0cd88ec89324795b46

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