void-packages/srcpkgs/wmutils-core/template
2014-12-26 20:04:59 +00:00

20 lines
626 B
Text

# Template file for 'wmutils-core'
pkgname=wmutils-core
version=1.0
revision=1
makedepends="libxcb-devel"
build_style=gnu-makefile
short_desc="Set of window manipulation tools "
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="ISC"
homepage="https://github.com/wmutils/core"
distfiles="https://github.com/${pkgname%-*}/core/archive/v${version}.tar.gz"
checksum=370d1149ef1362daab4da86e96b90f316b111826711a906566d3cbbcb2297683
wrksrc="${pkgname##*-}-${version}"
pre_build() {
sed -i 's|^CC|#CC|g' config.mk
sed -i 's|^LD +|#LD|g' config.mk
sed -i 's|^CFLAGS|#CFLAGS|g' config.mk
sed -i 's|@$(LD)|@$(CC)|g' Makefile
}