void-packages/srcpkgs/kidletime/template
2018-11-11 19:26:05 +01:00

25 lines
862 B
Bash

# Template file for 'kidletime'
pkgname=kidletime
version=5.52.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="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 <johnz@posteo.net>"
license="LGPL-2.0-or-later"
homepage="https://projects.kde.org/projects/frameworks/kidletime"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=d72a6f4a33e8d496fe5f029ac407a7b26f445500a83ed978d03765cc4b4048e9
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"
}
}