void-packages/srcpkgs/kscreenlocker/template

30 lines
1.1 KiB
Bash

# Template file for 'kscreenlocker'
pkgname=kscreenlocker
version=6.2.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules pkg-config qt6-base qt6-tools gettext
elogind wayland-devel kf6-kpackage kf6-kcmutils"
makedepends="kf6-kdeclarative-devel kf6-kpackage-devel kf6-kidletime-devel
kf6-kcmutils-devel qt6-base-private-devel
kf6-ksvg-devel kf6-kpackage-devel pam-devel layer-shell-qt-devel libkf6screen-devel
libplasma-devel wayland-devel xcb-util-keysyms-devel libxcb-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=9bf404ffb0d7d7dc196b2588ae5f473fd85eeade7cb2f56400e39106c1147f17
kscreenlocker-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}