void-packages/srcpkgs/xbanish/template

24 lines
647 B
Bash

# Template file for 'xbanish'
pkgname=xbanish
version=1.8
revision=1
build_style=gnu-makefile
makedepends="libXfixes-devel libXt-devel libXi-devel libX11-devel"
short_desc="Banish the mouse cursor when typing, show it again when the mouse moves"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/jcs/xbanish"
distfiles="https://github.com/jcs/xbanish/archive/refs/tags/v${version}.tar.gz"
checksum=e753d6a92d17105ad0d374f0349579b7e7bb070d4bebf5ec28ea105cb0c5b507
pre_build() {
export LIBS="$LDFLAGS"
}
do_install() {
vbin xbanish
vman xbanish.1
head -27 xbanish.c > LICENSE
vlicense LICENSE
}