]> git.lizzy.rs Git - torbrowser-launcher.git/blob - build_and_install.sh
added package building instructions and a build script
[torbrowser-launcher.git] / build_and_install.sh
1 #!/bin/sh
2
3 # clean up from last time
4 rm -rf ~/.torbrowser
5
6 # build source dist
7 python setup.py sdist
8
9 # turn it into a debian source package
10 cd dist
11 py2dsc torbrowser-launcher-2.3.25-2-1.tar.gz
12
13 # turn it into a debian binary package
14 cd deb_dist/torbrowser-launcher-2.3.25-2-1
15 dpkg-buildpackage -rfakeroot -uc -us
16
17 # install it
18 cd ..
19 sudo dpkg -i python-torbrowser-launcher_2.3.25-2-1-1_all.deb
20 cd ../..
21