void-packages/srcpkgs/kf6-kidletime/template

28 lines
986 B
Bash

# Template file for 'kf6-kidletime'
pkgname=kf6-kidletime
version=6.6.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
qt6-wayland-tools wayland-devel pkg-config"
makedepends="qt6-wayland-devel plasma-wayland-protocols wayland-protocols
libXScrnSaver-devel qt6-base-private-devel"
short_desc="Framework for detection and notification of device idle time"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kidletime"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=82480a6f06039c2b7e04a75c69f1151b1784edc7bcd27097ac6264b1aa15f427
kf6-kidletime-devel_package() {
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}