void-packages/srcpkgs/kidletime/template
2021-11-21 00:17:22 +01:00

24 lines
828 B
Bash

# Template file for 'kidletime'
pkgname=kidletime
version=5.88.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons pkg-config extra-cmake-modules qt5-host-tools qt5-x11extras-devel"
makedepends="qt5-x11extras-devel libXScrnSaver-devel"
short_desc="Framework for detection and notification of device idle time"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later"
homepage="https://invent.kde.org/frameworks/kidletime"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=baa36125b6b4b18dbe9004431365635e63f9c9491806ca6560ebb47d7f5962c3
kidletime-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}