void-packages/srcpkgs/cwm/template
2020-01-04 21:49:21 +01:00

21 lines
633 B
Bash

# Template file for 'cwm'
pkgname=cwm
version=6.6
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config bison"
makedepends="libXft-devel libXinerama-devel libXrandr-devel"
short_desc="Lightweight and efficient window manager for X11"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="http://man.openbsd.org/cwm"
distfiles="https://github.com/leahneukirchen/cwm/archive/v${version}.tar.gz"
checksum=223d086dbebfb2f35f05af0c72c3d1b04fdd341123121c65105524ebd605655c
post_extract() {
sed -i 's/^\(LD\|CPP\)FLAGS/override &/' Makefile
sed '/\*\//q' calmwm.c >LICENSE
}
post_install() {
vlicense LICENSE
}