# Template file for 'kscreenlocker'
pkgname=kscreenlocker
version=5.27.2
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF5_HOST_TOOLING=/usr/lib/cmake"
hostmakedepends="extra-cmake-modules pkg-config kcoreaddons-devel
 qt5-qmake wayland-devel qt5-host-tools gettext kcmutils-devel"
makedepends="kdeclarative-devel kidletime-devel kcmutils-devel
 libSM-devel kwayland-devel libXi-devel pam-devel libXcursor-devel
 layer-shell-qt-devel libkscreen-devel"
short_desc="KDE Library and components for secure lock screen architecture"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later"
homepage="https://invent.kde.org/plasma/kscreenlocker"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=3a1056323a9451a02b46c0dd3db07b766d0dc5e2d74300a008ee9b274dce0319

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