| 1 | # Description: X keyboard configuration database |
| 2 | # URL: http://www.freedesktop.org/wiki/Software_2fXKeyboardConfig |
| 3 | # Maintainer: Tilman Sauerbeck tilman at crux dot nu |
| 4 | # Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org |
| 5 | # Depends on: xorg-xkbcomp |
| 6 | |
| 7 | name=xkeyboard-config |
| 8 | version=1.7 |
| 9 | release=1 |
| 10 | source=(http://xlibs.freedesktop.org/xkbdesc/$name-$version.tar.bz2) |
| 11 | |
| 12 | build() { |
| 13 | cd xkeyboard-config-$version |
| 14 | |
| 15 | echo "ac_cv_path_XKBCOMP=\"$CLFS/usr/bin/xkbcomp\"" > config.cache |
| 16 | |
| 17 | ./configure --build=$CHOST \ |
| 18 | --host=$CTARGET \ |
| 19 | --prefix=/usr \ |
| 20 | --with-xkb-base=/usr/share/X11/xkb \ |
| 21 | --with-xkb-rules-symlink=xorg \ |
| 22 | --cache-file=config.cache |
| 23 | |
| 24 | make |
| 25 | make DESTDIR=$PKG install |
| 26 | |
| 27 | rm -rf $PKG/usr/share/locale |
| 28 | ln -s /var/lib/xkb $PKG/usr/share/X11/xkb/compiled |
| 29 | } |