void-packages/srcpkgs/cwm/template
2019-03-01 13:53:42 +01:00

21 lines
633 B
Bash

# Template file for 'cwm'
pkgname=cwm
version=6.3
revision=2
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=4cd57ffac72841c128cccaea8ba210679d8913cd841690861d56c0e758baed9e
post_extract() {
sed -i 's/^\(LD\|CPP\)FLAGS/override &/' Makefile
sed '/\*\//q' calmwm.c >LICENSE
}
post_install() {
vlicense LICENSE
}