# Template file for 'wmutils-core'
pkgname=wmutils-core
version=1.7
revision=1
build_style=gnu-makefile
make_use_env=yes
makedepends="libxcb-devel xcb-util-devel xcb-util-cursor-devel"
short_desc="Set of window manipulation tools"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://github.com/wmutils/core"
distfiles="https://github.com/wmutils/core/archive/v${version}.tar.gz"
checksum=f57da66f7da7752b1b76030b1dfdfcc0b5483f6e6d9b6ff52c6a5bb3c2af1659
conflicts="lsw"

post_extract() {
	sed -i -e 's,/man,/share/man,'  \
		-e '/^CC /d' \
		-e 's|CFLAGS  =|CFLAGS +=|' \
		-e 's|LDFLAGS =|LDFLAGS +=|' config.mk
}

post_install() {
	vlicense LICENSE
}
