void-packages/srcpkgs/xidle/template

21 lines
593 B
Bash

# Template file for 'xidle'
pkgname=xidle
version=6.3
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=f17a99fafb658d467fdbc4001809fa133b52ce0193ac895e6fa9501045ec8218
pre_build() {
sed -n '3,25p' < xidle.c > LICENSE
vlicense LICENSE
}