updated ubuntu packaging scripts

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4909 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-02-08 20:29:30 +00:00
parent fa0def543d
commit a391701f5c
3 changed files with 11 additions and 10 deletions

View File

@ -1,10 +1,10 @@
#!/bin/sh
rm ./retroshare_0.5.2-0.*_source.build
rm ./retroshare_0.5.2-0.*_source.changes
rm ./retroshare_0.5.2-0.*.tar.gz
rm ./retroshare_0.5.2-0.*.diff.gz
rm ./retroshare_0.5.2-0.*.dsc
rm ./retroshare_0.5.3-0.*_source.build
rm ./retroshare_0.5.3-0.*_source.changes
rm ./retroshare_0.5.3-0.*.tar.gz
rm ./retroshare_0.5.3-0.*.diff.gz
rm ./retroshare_0.5.3-0.*.dsc
rm *~
find . -name "*~" -exec rm {} \;

View File

@ -18,10 +18,11 @@ svn=4153
rm -rf ./retroshare-0.5
# ./makeSourcePackage.sh
#for dist in maverick natty; do
for dist in karmic lucid maverick natty; do
sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist "$dist" build retroshare_0.5.2-0."$svn"~"$dist".dsc
cp /var/cache/pbuilder/"$dist"_result/retroshare_0.5.2-0."$svn"~"$dist"_amd64.deb .
sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist "$dist" i386 build retroshare_0.5.2-0."$svn"~"$dist".dsc
cp /var/cache/pbuilder/"$dist"-i386_result/retroshare_0.5.2-0."$svn"~"$dist"_i386.deb .
sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist "$dist" build retroshare_0.5.3-0."$svn"~"$dist".dsc
cp /var/cache/pbuilder/"$dist"_result/retroshare_0.5.3-0."$svn"~"$dist"_amd64.deb .
sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist "$dist" i386 build retroshare_0.5.3-0."$svn"~"$dist".dsc
cp /var/cache/pbuilder/"$dist"-i386_result/retroshare_0.5.3-0."$svn"~"$dist"_i386.deb .
done

View File

@ -10,7 +10,7 @@ fi
svn update
###################### PARAMETERS ####################
version="0.5.2"
version="0.5.3"
######################################################
if test "$1" = "" ; then