void-packages/srcpkgs/cwm/template
2017-10-17 19:52:00 +02:00

21 lines
660 B
Bash

# Template file for 'cwm
pkgname=cwm
version=6.2
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config bison"
makedepends="fontconfig-devel libXft-devel libXinerama-devel libXrandr-devel libX11-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/chneukirchen/cwm/archive/v${version}.tar.gz"
checksum=3d21efeaeeb4f02cb84ee123c7d40766086785ad46720125fe0bacdb251413ad
post_extract() {
sed -i 's/^\(LD\|CPP\)FLAGS/override &/' Makefile
sed '/\*\//q' calmwm.c >LICENSE
}
post_install() {
vlicense LICENSE
}