void-packages/srcpkgs/wmutils-core/template
2015-11-08 08:29:43 -05:00

24 lines
612 B
Bash

# Template file for 'wmutils-core'
pkgname=wmutils-core
version=1.2
revision=1
wrksrc="${pkgname##*-}-${version}"
build_style=gnu-makefile
makedepends="libxcb-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=b86348f2dbf0e518c2cc8c3c079d71b2542f041dc3c99ea5ac7be1368498b984
LDFLAGS="-lxcb"
pre_build() {
sed -i 's,/man,/share/man,' config.mk
sed -i 's|@$(LD)|@$(CC)|g' Makefile
}
post_install() {
vlicense LICENSE
}