# Template file for 'kinit'
pkgname=kinit
version=5.116.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules libcap-progs pkg-config
 gettext qt5-host-tools qt5-qmake kdoctools"
makedepends="kio-devel kdoctools-devel libcap-devel kbookmarks-devel kservice-devel"
short_desc="Helper library to speed up start of applications on KDE workspaces"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-only"
homepage="https://invent.kde.org/frameworks/kinit"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=e4a4acc661035d22f7636397d23307c2e4e4129a7ed82d458fdf2f7ee63dbc2c

kinit-devel_package() {
	short_desc+=" - development"
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/lib/cmake
	}
}
