mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-11 00:44:27 -05:00
c876c3d459
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2546 b45a01b8-16f6-495d-af2f-9b41ad6348cc
28 lines
1.1 KiB
Bash
Executable File
28 lines
1.1 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
echo This script will
|
|
echo - remove the directory retroshare-0.5/
|
|
echo - remove existing sources packages in the current directory
|
|
echo - build a new source package from the svn
|
|
echo - rebuild the source package for the karmic i386 arch.
|
|
echo
|
|
echo Type ^C to abort, or enter the svn version number to continue
|
|
read svn
|
|
|
|
# rm -rf ./retroshare-0.5
|
|
# ./clean.sh
|
|
# ./makeSourcePackage.sh
|
|
|
|
sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist karmic build *.dsc
|
|
cp /var/cache/pbuilder/karmic_result/retroshare_0.5-1_amd64.deb ./RetroShare_0.5."$svn"_karmic_amd64.deb
|
|
|
|
sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist karmic i386 build *.dsc
|
|
cp /var/cache/pbuilder/karmic-i386_result/retroshare_0.5-1_i386.deb ./RetroShare_0.5."$svn"_karmic_i386.deb
|
|
|
|
sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist jaunty build *.dsc
|
|
cp /var/cache/pbuilder/jaunty_result/retroshare_0.5-1_amd64.deb ./RetroShare_0.5."$svn"_jaunty_amd64.deb
|
|
|
|
sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist jaunty i386 build *.dsc
|
|
cp /var/cache/pbuilder/jaunty-i386_result/retroshare_0.5-1_i386.deb ./RetroShare_0.5."$svn"_jaunty_i386.deb
|
|
|