From 402601064f2f40e42823b4ebcdfb72ed9f1c4cde Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sat, 1 Jul 2017 09:18:22 +0000 Subject: [PATCH] wmutils-core: update to 1.4. --- srcpkgs/wmutils-core/template | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/srcpkgs/wmutils-core/template b/srcpkgs/wmutils-core/template index 0c3db0372e8..9e208ecd5b1 100644 --- a/srcpkgs/wmutils-core/template +++ b/srcpkgs/wmutils-core/template @@ -1,22 +1,22 @@ # Template file for 'wmutils-core' pkgname=wmutils-core -version=1.2 +version=1.4 revision=1 wrksrc="${pkgname##*-}-${version}" build_style=gnu-makefile -makedepends="libxcb-devel" +make_use_env=yes +makedepends="libxcb-devel xcb-util-devel" short_desc="Set of window manipulation tools" maintainer="Juan RP " license="ISC" homepage="https://github.com/wmutils/core" distfiles="https://github.com/${pkgname%-*}/core/archive/v${version}.tar.gz" -checksum=b86348f2dbf0e518c2cc8c3c079d71b2542f041dc3c99ea5ac7be1368498b984 +checksum=44e16576b7f6e1f126c2cb249449ab7e10fd65289aff774ffaf27d2c15a7b2ba -LDFLAGS="-lxcb" - -pre_build() { - sed -i 's,/man,/share/man,' config.mk - sed -i 's|@$(LD)|@$(CC)|g' Makefile +post_extract() { + sed -i -e 's,/man,/share/man,' \ + -e 's|CFLAGS =|CFLAGS +=|' \ + -e 's|LDFLAGS =|LDFLAGS +=|' config.mk } post_install() {