# Description: X keyboard configuration database
# URL: http://www.freedesktop.org/wiki/Software_2fXKeyboardConfig
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
# Packager: thierryn1 at hispeed dot ch
# Depends on: xorg-xkbcomp, intltool

name=xkeyboard-config
version=1.8
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 
}