# Template file for 'kjobwidgets'
pkgname=kjobwidgets
version=5.37.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="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kjobwidgets"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=8b645c1dded5ec2c6628a6b8638804abe49eab02f7da324eb8a75d7d616fc284

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