mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-17 04:23:50 +02:00
New package: xdo-0.5
Rename fix-1779.patch to fix-cflags.patch
This commit is contained in:
parent
68103dc734
commit
b7a228173f
2 changed files with 27 additions and 0 deletions
11
srcpkgs/xdo/patches/fix-cflags.patch
Normal file
11
srcpkgs/xdo/patches/fix-cflags.patch
Normal file
|
@ -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
|
16
srcpkgs/xdo/template
Normal file
16
srcpkgs/xdo/template
Normal file
|
@ -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 <brainwave@openmailbox.org>"
|
||||||
|
license="BSD"
|
||||||
|
homepage="https://github.com/baskerville/xdo"
|
||||||
|
distfiles="https://github.com/baskerville/${pkgname}/archive/${version}.tar.gz"
|
||||||
|
checksum=2686cfbe3727586fae770a033731a92abd35146951961a5e0bf781288296566a
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue