void-packages/srcpkgs/xidle/template
2019-04-24 19:22:10 +02:00

20 lines
606 B
Bash

# Template file for 'xidle'
pkgname=xidle
version=6.5
revision=1
wrksrc="${pkgname}-linux-${version}"
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pkg-config"
makedepends="libbsd-devel 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=ccb487b5bff35ec4df01ff3034e6a999b87595b4cab3093928f07e96c8725c91
pre_build() {
sed -n '3,25p' < xidle.c > LICENSE
vlicense LICENSE
}