]> git.armaanb.net Git - asd-repo.git/blobdiff - xorg/xkeyboard-config/build
Restructure repository
[asd-repo.git] / xorg / xkeyboard-config / build
diff --git a/xorg/xkeyboard-config/build b/xorg/xkeyboard-config/build
new file mode 100755 (executable)
index 0000000..3f3367a
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+# Swap to shell script instead of perl script
+# for conversion of rules files. See files/xml2lst.
+sed -i 's/perl //;s/xml2lst\.pl/xml2lst/' rules/Makefile.in
+
+./configure \
+    --prefix=/usr \
+    --with-xkb-rules-symlink=xfree86,xorg \
+    --enable-compat-rules \
+    --without-xsltproc \
+    --disable-nls
+
+make
+make DESTDIR="$1" install