Also I am doing a giveaway on Bitcointalk: https://bitcointalk.org/index.php?topic=325547.0
About your script, I would change a bit:
1.- add qt4-qmake to the apt-get install
2.- cd ProtoShares/src; make -f makefile.unix -> cd ProtoShares ; qmake-qt4 protosharesd.pro && make
3.- ./bitcoind -> ./protosharesd