# Note: depends on pkg-config
# Note: depends on xproto
wget -c http://www.x.org/releases/individual/lib/libxshmfence-1.3.tar.bz2
tar -xjf libxshmfence-1.3.tar.bz2
cd libxshmfence-1.3
mkdir -p build
cd build
../configure --prefix="/usr"
make
make install