New package: wmutils-core-1.0

This commit is contained in:
Ypnose 2014-12-26 20:04:59 +00:00
parent d5e3c42b4c
commit 84da7dca01

View file

@ -0,0 +1,20 @@
# 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
}