From 84986bd3e96c3fac0a679489b03914a5006c0b1c Mon Sep 17 00:00:00 2001 From: Anachron Date: Thu, 18 May 2017 17:05:28 +0200 Subject: [PATCH] New package: wmutils-opt Closes: #6431 [via git-merge-pr] --- srcpkgs/wmutils-opt/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/wmutils-opt/template 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 +} +