]> git.armaanb.net Git - asd-repo.git/blobdiff - xorg/libX11/build
Restructure repository
[asd-repo.git] / xorg / libX11 / build
diff --git a/xorg/libX11/build b/xorg/libX11/build
new file mode 100755 (executable)
index 0000000..0ebe0da
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+CFLAGS_FOR_BUILD=-fPIC \
+./configure \
+    --prefix=/usr \
+    --without-xmlto \
+    --disable-specs \
+    --enable-static
+
+make
+make DESTDIR="$1" install
+
+# This will be removed once 'xorgproto' 2019.2
+# is released.
+rm -f "$1/usr/include/X11/extensions/XKBgeom.h"