void-packages/srcpkgs/wmutils-core/template
2017-07-01 09:27:03 +00:00

25 lines
679 B
Bash

# Template file for 'wmutils-core'
pkgname=wmutils-core
version=1.4
revision=1
wrksrc="${pkgname##*-}-${version}"
build_style=gnu-makefile
make_use_env=yes
makedepends="libxcb-devel xcb-util-devel"
short_desc="Set of window manipulation tools"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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
}