2010-02-14 07:37:16 -05:00
|
|
|
#!/bin/sh
|
|
|
|
|
2010-05-30 10:23:14 -04:00
|
|
|
svn=`svn up | cut -d\ -f3 | cut -d. -f1`
|
|
|
|
|
2010-02-14 07:37:16 -05:00
|
|
|
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.
|
2010-05-30 10:23:14 -04:00
|
|
|
echo - svn number is $svn. Is this correct ?
|
2010-02-14 07:37:16 -05:00
|
|
|
echo
|
2010-05-30 10:23:14 -04:00
|
|
|
echo Type ^C to abort, or type enter to proceed.
|
|
|
|
|
|
|
|
rm -rf ./retroshare-0.5
|
|
|
|
./clean.sh
|
|
|
|
./makeSourcePackage.sh
|
|
|
|
|
|
|
|
sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist lucid i386 build *.dsc
|
|
|
|
cp /var/cache/pbuilder/lucid-i386_result/retroshare_0.5-1_i386.deb ./RetroShare_0.5."$svn"_lucid_i386.deb
|
|
|
|
|
|
|
|
sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist lucid build *.dsc
|
|
|
|
cp /var/cache/pbuilder/lucid_result/retroshare_0.5-1_amd64.deb ./RetroShare_0.5."$svn"_lucid_amd64.deb
|
|
|
|
|
|
|
|
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
|
2010-03-15 09:18:25 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2010-05-30 10:23:14 -04:00
|
|
|
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
|
2010-02-14 07:37:16 -05:00
|
|
|
|
2010-05-29 08:35:29 -04:00
|
|
|
|
|
|
|
mv /media/disc2/csoler/RetroShare_Releases/*.deb /media/disc2/csoler/RetroShare_Releases/Old/
|
|
|
|
mv *.deb /media/disc2/csoler/RetroShare_Releases/
|
2010-05-30 10:23:14 -04:00
|
|
|
|