vp-build/srcpkgs/wmutils-core/template

26 lines
683 B
Bash

# Template file for 'wmutils-core'
pkgname=wmutils-core
version=1.5
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/${pkgname%-*}/core/archive/v${version}.tar.gz"
checksum=72af22ea52bc343bf90a6603ae3e169ed3c15f64635fa42507cc662ab04a6372
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
}