# Depends on python2

# Exit on error:
set -e

wget http://xcb.freedesktop.org/dist/xcb-proto-1.9.tar.bz2
tar xf xcb-proto-1.9.tar.bz2
cd xcb-proto-1.9
# Fix "no suitable Python interpreter found" error:
#export PYTHONHOME=/
./configure --prefix=/usr
make install
cd ..
rm -rf xcb-proto-1.9
rm xcb-proto-1.9.tar.bz2

exit 0
