# Template file for 'kjobwidgets'
pkgname=kjobwidgets
version=5.50.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-tools qt5-qmake"
makedepends="kcoreaddons-devel kwidgetsaddons-devel qt5-x11extras-devel"
short_desc="KDE Widgets for showing progress of asynchronous jobs"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-only, LGPL-2.0-or-later"
homepage="https://projects.kde.org/projects/frameworks/kjobwidgets"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=3801e39bb59eb6339850bf4048433f115b7ae7cf9409de81bc4b2cd162848749

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