wget https://mathr.co.uk/sluab/sluab-0.6.tar.gz
tar xfz sluab-0.6.tar.gz
cd sluab-0.6
wget http://www.lua.org/ftp/lua-5.0.2.tar.gz
tar xfz lua-5.0.2.tar.gz
LC_ALL=C TZ=UTC0 patch -Np0 < patch/lua-5.0.2-sluab-0.6.patch
cd libsluab
sh ./make.sh
cd ../lua-5.0.2
make
cd ..
echo "All done!"
echo "Now try cd'ing to sluab-0.6 and running ./sluab sluab.lua"
