# clone and create local branch
git clone git://github.com/bitcoin/bitcoin.git
git checkout v0.8.5
git checkout -b v0.8.5-gnome
# debianize using debian dir from 0.8.5 package
cp -a ../debian-0.8.5/debian ./
git add debian
git commit -m "debianize"
# wheezify
cat >> debian/changelog <<END
bitcoin (0.8.0-wheezy1) wheezy; urgency=low
* Mark for wheezy.
-- Matt Corallo <matt@bluematt.me> Sat, 23 Feb 2013 16:24:00 -0500
END
# deps
apt-get install bash-completion qt4-qmake libboost-dev libdb5.1++-dev libminiupnpc-dev minissdpd libboost-{system,filesystem,program-options,thread}-dev
# clean
debian/rules clean
# build
debian/rules binary
# install
cp src/bitcoind ~/bin/