void-packages/srcpkgs/kjobwidgets/template

25 lines
865 B
Bash

# Template file for 'kjobwidgets'
pkgname=kjobwidgets
version=5.87.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules kcoreaddons 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 <me@johnnynator.dev>"
license="LGPL-2.0-only, LGPL-2.0-or-later"
homepage="https://invent.kde.org/frameworks/kjobwidgets"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=e56b845f6b609255420f6558d58b844dff68a35d67b67d78b98919f67c230f68
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"
}
}