diff --git a/srcpkgs/wmutils-core/template b/srcpkgs/wmutils-core/template new file mode 100644 index 00000000000..38c707e6c29 --- /dev/null +++ b/srcpkgs/wmutils-core/template @@ -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 " +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 +}