sxhkd: update to 0.5.6.
This commit is contained in:
parent
b1db5cae89
commit
8c9579298e
2 changed files with 7 additions and 25 deletions
|
@ -1,22 +0,0 @@
|
||||||
--- Makefile.orig
|
|
||||||
+++ Makefile
|
|
||||||
@@ -3,8 +3,8 @@
|
|
||||||
|
|
||||||
CC ?= gcc
|
|
||||||
LIBS = -lm -lxcb -lxcb-keysyms
|
|
||||||
-CFLAGS += -std=c99 -pedantic -Wall -Wextra -I$(PREFIX)/include
|
|
||||||
-CFLAGS += -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\"
|
|
||||||
+override CFLAGS += -std=c99 -pedantic -Wall -Wextra -I$(PREFIX)/include
|
|
||||||
+override CFLAGS += -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\"
|
|
||||||
LDFLAGS += -L$(PREFIX)/lib
|
|
||||||
|
|
||||||
PREFIX ?= /usr/local
|
|
||||||
@@ -14,8 +14,6 @@
|
|
||||||
SRC = $(wildcard *.c)
|
|
||||||
OBJ = $(SRC:.c=.o)
|
|
||||||
|
|
||||||
-all: CFLAGS += -Os
|
|
||||||
-all: LDFLAGS += -s
|
|
||||||
all: $(NAME)
|
|
||||||
|
|
||||||
debug: CFLAGS += -O0 -g -DDEBUG
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'sxhkd'
|
# Template file for 'sxhkd'
|
||||||
pkgname=sxhkd
|
pkgname=sxhkd
|
||||||
version=0.5.5
|
version=0.5.6
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="libxcb-devel xcb-util-devel xcb-util-keysyms-devel"
|
makedepends="libxcb-devel xcb-util-devel xcb-util-keysyms-devel"
|
||||||
short_desc="Simple X HotKey Daemon"
|
short_desc="Simple X HotKey Daemon"
|
||||||
|
@ -9,7 +9,11 @@ maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
homepage="https://github.com/baskerville/sxhkd"
|
homepage="https://github.com/baskerville/sxhkd"
|
||||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||||
checksum=e6699f77564e34a890d27f6c251e1ed29b04f5177e48290e7f02948497f04313
|
checksum=72366eea4d7ed17a3a9eab5257e59edf9a7cd63b926af1dca2d895dfefaff995
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue