aboutsummaryrefslogtreecommitdiff
path: root/community/yad/build
diff options
context:
space:
mode:
Diffstat (limited to 'community/yad/build')
-rwxr-xr-xcommunity/yad/build22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/yad/build b/community/yad/build
new file mode 100755
index 00000000..4a772b7a
--- /dev/null
+++ b/community/yad/build
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+
+patch -p1 < 0001-Separate-X11-dependent-modules.patch
+
+autoreconf -fi
+
+./configure \
+ --prefix=/usr \
+ --disable-nls \
+ --disable-html \
+ --disable-sourceview \
+ --disable-spell \
+ --disable-tray
+
+clsed '/gdkx\.h/d;s/Window xid/unsigned long xid/' src/yad.h
+clsed 's/gdk\/gdkx\.h/gtk\/gtkx.h/' src/main.c
+
+
+make
+make DESTDIR="$1" install
+
+rm -r "$1/usr/share/locale"