void-packages/srcpkgs/cwm/template
2020-05-23 10:40:58 +02:00

26 lines
715 B
Bash

# Template file for 'cwm'
pkgname=cwm
version=6.7
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=fdd3d5b4fe9b1b03e1fc270d3dd5a031218589a8e40170e8438d2b9c44a35f08
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
post_extract() {
sed -i 's/^\(LD\|CPP\)FLAGS/override &/' Makefile
sed '/\*\//q' calmwm.c >LICENSE
}
post_install() {
vlicense LICENSE
}