commit 0ec077d
hovercats
·
2024-04-12 07:06:49 +0000 UTC
parent 33894ba
wmutils: import
6 files changed,
+36,
-0
+18,
-0
1@@ -0,0 +1,18 @@
2+#!/bin/sh -e
3+
4+export LDFLAGS="$LDFLAGS -static"
5+
6+# remove atomx and slw, as theyre giving me linking issues.
7+sed '/atomx.c/d' Makefile > _
8+mv -f _ Makefile
9+sed '/slw.c/d' Makefile > _
10+mv -f _ Makefile
11+sed 's/wmp.c.*/wmp.c/' Makefile > _
12+mv -f _ Makefile
13+
14+make
15+make DESTDIR="$1" install
16+
17+# move manpages to correct dir
18+mkdir -p "$1/usr/share/"
19+mv -f "$1/usr/man" "$1/usr/share/"
+2,
-0
1@@ -0,0 +1,2 @@
2+201c0e7c91c0b1f7ab7ea3c4242e26b89162ea86c105ab136d5b425489838906a4
3+92d68f346257f29b45cdd662327c50b310e50556af973feda0af715a9fcf494806
+5,
-0
1@@ -0,0 +1,5 @@
2+libxcb make
3+xcb-util make
4+xcb-util-cursor make
5+xcb-util-image make
6+xcb-util-renderutil make
+8,
-0
1@@ -0,0 +1,8 @@
2+PREFIX = /usr
3+MANPREFIX = $(PREFIX)/man
4+
5+CC = cc
6+LD = $(CC)
7+
8+CFLAGS = -std=c99 -pedantic -Wall -Os -I/usr/include
9+LDFLAGS = -static -L/usr/lib -lxcb -lxcb-shm -lxcb-util -lxcb-image -lxcb-render-util -lxcb-render -lxcb-cursor -lXau
+2,
-0
1@@ -0,0 +1,2 @@
2+https://github.com/wmutils/core/archive/9f810263ddcc00bb057d72b88d119bfc0989c7e3.tar.gz
3+files/config.mk
+1,
-0
1@@ -0,0 +1 @@
2+9f810263ddcc00bb057d72b88d119bfc0989c7e3 1