void-packages/srcpkgs/windowchef/template

22 lines
656 B
Bash

# Template file for 'windowchef'
pkgname=windowchef
version=0.4.2
revision=1
build_style=gnu-makefile
makedepends="xcb-util-wm-devel xcb-util-keysyms-devel"
short_desc="A stacking WM that doesn't handle keyboard or pointer inputs"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="ISC"
homepage="https://github.com/tudurom/windowchef"
distfiles="https://github.com/tudurom/windowchef/archive/v${version}.tar.gz"
checksum=e38c5cc81ec9374357625431986dfcd1b3abc2d11797b459ef36f262b1705053
pre_build() {
sed -i 's|^CFLAGS +=|override CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS +=|override LDFLAGS +=|g' config.mk
}
post_install() {
vlicense LICENSE
}