diff --git a/srcpkgs/wmutils-opt/template b/srcpkgs/wmutils-opt/template new file mode 100644 index 00000000000..aec59c6a1ca --- /dev/null +++ b/srcpkgs/wmutils-opt/template @@ -0,0 +1,24 @@ +# Template file for 'wmutils-opt' +pkgname=wmutils-opt +version=1.0 +revision=1 +wrksrc="${pkgname##*-}-${version}" +build_style=gnu-makefile +makedepends="libxcb-devel" +short_desc="Optional addons to wmutils" +maintainer="Anachron " +license="ISC" +homepage="https://github.com/wmutils/opt" +distfiles="https://github.com/${pkgname%-*}/opt/archive/v${version}.tar.gz" +checksum=f30bb409bdcfa6720015dbca5356e04d4359cca3800a39948822152a94bcd055 + +LDFLAGS="-lxcb" + +pre_build() { + sed -i 's|@$(LD)|@$(CC)|g' Makefile +} + +post_install() { + vlicense LICENSE +} +