# Exit on error:
set -e

wget http://www.x.org/releases/individual/app/xinit-1.3.3.tar.bz2
tar xf xinit-1.3.3.tar.bz2
cd xinit-1.3.3

./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --localstatedir=/var

make
make install

echo If you desire to use a keyboard layout different from qwerty;
echo you may add:
echo setxkbmap -layout fr -variant latin9
echo to your ~/.xinitrc

cd ..
exit 0
