void-packages/srcpkgs/kidletime/template
2019-07-13 18:08:07 +02:00

25 lines
874 B
Bash

# Template file for 'kidletime'
pkgname=kidletime
version=5.60.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
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 <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=e7c4ca5ca3e847c37add4c81b3d430f4c4bf0214433a234a32d766c9199adb27
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"
}
}