summaryrefslogtreecommitdiffstats
path: root/xorg/xkeyboard-config/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/xkeyboard-config/Pkgfile')
-rwxr-xr-xxorg/xkeyboard-config/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/xorg/xkeyboard-config/Pkgfile b/xorg/xkeyboard-config/Pkgfile
new file mode 100755
index 000000000..65b07dbe2
--- /dev/null
+++ b/xorg/xkeyboard-config/Pkgfile
@@ -0,0 +1,24 @@
+# Description: X keyboard configuration database
+# URL: http://www.freedesktop.org/wiki/Software_2fXKeyboardConfig
+# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
+# Depends on: xorg-xkbcomp, intltool
+
+name=xkeyboard-config
+version=1.6
+release=1
+source=(http://xlibs.freedesktop.org/xkbdesc/$name-$version.tar.bz2)
+
+build() {
+ cd xkeyboard-config-$version
+
+ ./configure --prefix=/usr \
+ --with-xkb-base=/usr/share/X11/xkb \
+ --with-xkb-rules-symlink=xorg
+
+ make
+ make DESTDIR=$PKG install
+
+ rm -rf $PKG/usr/share/locale
+
+ ln -s /var/lib/xkb $PKG/usr/share/X11/xkb/compiled
+}