void-packages/srcpkgs/wmutils-core/template

26 lines
696 B
Bash

# Template file for 'wmutils-core'
pkgname=wmutils-core
version=1.4
revision=2
wrksrc="${pkgname##*-}-${version}"
build_style=gnu-makefile
make_use_env=yes
conflicts="lsw"
makedepends="libxcb-devel xcb-util-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/${pkgname%-*}/core/archive/v${version}.tar.gz"
checksum=44e16576b7f6e1f126c2cb249449ab7e10fd65289aff774ffaf27d2c15a7b2ba
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
}