void-packages/srcpkgs/kidletime/template
2016-11-02 00:22:31 +01:00

25 lines
877 B
Bash

# Template file for 'kidletime'
pkgname=kidletime
version=5.26.0
revision=2
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="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="https://projects.kde.org/projects/frameworks/kidletime"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=02f82e84429487d4f14a6c665ed00a12c40b8c8f4e1ec34cb8436a39f274978f
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
}
}