void-packages/srcpkgs/xidle/template
2018-10-14 21:00:26 +02:00

20 lines
593 B
Bash

# Template file for 'xidle'
pkgname=xidle
version=6.4
revision=1
wrksrc="${pkgname}-linux-${version}"
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pkg-config"
makedepends="libXScrnSaver-devel"
short_desc="Run a program on X inactivity"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="BSD-2-Clause"
homepage="https://github.com/steinex/xidle-linux"
distfiles="https://github.com/steinex/xidle-linux/archive/${version}.tar.gz"
checksum=fa1c57ecd0a6ae7371c1b1f9a62acc11c433e2dfe430e552deece522ef9cd0e9
pre_build() {
sed -n '3,25p' < xidle.c > LICENSE
vlicense LICENSE
}