From b7a228173f8771db0be84317f8330ba81e4795e7 Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Sun, 10 Jan 2016 13:36:21 +0100 Subject: [PATCH] New package: xdo-0.5 Rename fix-1779.patch to fix-cflags.patch --- srcpkgs/xdo/patches/fix-cflags.patch | 11 +++++++++++ srcpkgs/xdo/template | 16 ++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 srcpkgs/xdo/patches/fix-cflags.patch create mode 100644 srcpkgs/xdo/template diff --git a/srcpkgs/xdo/patches/fix-cflags.patch b/srcpkgs/xdo/patches/fix-cflags.patch new file mode 100644 index 00000000000..26895241efb --- /dev/null +++ b/srcpkgs/xdo/patches/fix-cflags.patch @@ -0,0 +1,11 @@ +--- 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 new file mode 100644 index 00000000000..c1cdd1d44ef --- /dev/null +++ b/srcpkgs/xdo/template @@ -0,0 +1,16 @@ +# Template file for 'xdo' +pkgname=xdo +version=0.5 +revision=1 +build_style=gnu-makefile +makedepends="libxcb-devel xcb-util-wm-devel" +short_desc="Small X utility to perform elementary actions on windows" +maintainer="bra1nwave " +license="BSD" +homepage="https://github.com/baskerville/xdo" +distfiles="https://github.com/baskerville/${pkgname}/archive/${version}.tar.gz" +checksum=2686cfbe3727586fae770a033731a92abd35146951961a5e0bf781288296566a + +post_install() { + vlicense LICENSE +}