void-packages/srcpkgs/kscreenlocker/template

28 lines
1009 B
Bash

# Template file for 'kscreenlocker'
pkgname=kscreenlocker
version=5.26.3
revision=2
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"
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=ce38d13e1075a5f8a318d802d83dc75e5b1dfee1c5b640be39af1ed57d334569
kscreenlocker-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}