# Exit on error:
set -e

wget http://www.x.org/releases/individual/proto/inputproto-2.3.tar.bz2
tar xf inputproto-2.3.tar.bz2
cd inputproto-2.3
./configure --prefix=
make
make install
cd ..
rm -rf inputproto-2.3
rm inputproto-2.3.tar.bz2

# Fix permissions for Package Users:
chmod g+w,o+t /include/X11/extensions

exit 0
