From f559411e469dcc6d662e1386c70fa750e059c869 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Wed, 16 Mar 2016 05:44:35 +0100 Subject: [PATCH] xdo: update to 0.5.1. --- srcpkgs/xdo/patches/fix-cflags.patch | 11 ----------- srcpkgs/xdo/template | 8 ++++++-- 2 files changed, 6 insertions(+), 13 deletions(-) delete mode 100644 srcpkgs/xdo/patches/fix-cflags.patch diff --git a/srcpkgs/xdo/patches/fix-cflags.patch b/srcpkgs/xdo/patches/fix-cflags.patch deleted file mode 100644 index 26895241ef..0000000000 --- a/srcpkgs/xdo/patches/fix-cflags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.orig -+++ Makefile -@@ -2,7 +2,7 @@ - VERSION = $(shell git describe || cat VERSION) - - CPPFLAGS += -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\" --CFLAGS += -std=c99 -pedantic -Wall -Wextra -+override CFLAGS += -std=c99 -pedantic -Wall -Wextra - LDLIBS = -lxcb -lxcb-icccm -lxcb-ewmh -lxcb-xtest - - PREFIX ?= /usr/local diff --git a/srcpkgs/xdo/template b/srcpkgs/xdo/template index c1cdd1d44e..62ceaedc3a 100644 --- a/srcpkgs/xdo/template +++ b/srcpkgs/xdo/template @@ -1,6 +1,6 @@ # Template file for 'xdo' pkgname=xdo -version=0.5 +version=0.5.1 revision=1 build_style=gnu-makefile makedepends="libxcb-devel xcb-util-wm-devel" @@ -9,7 +9,11 @@ maintainer="bra1nwave " license="BSD" homepage="https://github.com/baskerville/xdo" distfiles="https://github.com/baskerville/${pkgname}/archive/${version}.tar.gz" -checksum=2686cfbe3727586fae770a033731a92abd35146951961a5e0bf781288296566a +checksum=a159c7b879f1e31f1c390053ad7f7095979220bffcd98764563e9f856f13b909 + +post_extract() { + sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile +} post_install() { vlicense LICENSE