# Exit on error:
set -e

wget -c http://www.x.org/releases/individual/app/setxkbmap-1.3.0.tar.bz2
tar xf setxkbmap-1.3.0.tar.bz2
cd setxkbmap-1.3.0
./configure --prefix=
make install
cd ..
rm -rf setxkbmap-1.3.0
rm setxkbmap-1.3.0.tar.bz2

echo
echo If you want to use french keyboard layout under X,
echo you may to add the following line to ~/.xinitrc:
echo setxkbmap fr

exit 0
