xdo: update to 0.5.1.

This commit is contained in:
Michael Gehring 2016-03-16 05:44:35 +01:00
parent b0f234e501
commit f559411e46
2 changed files with 6 additions and 13 deletions

View file

@ -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

View file

@ -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 <brainwave@openmailbox.org>"
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