added scripts to build a source debian package from ubuntu repository. Not finished yet.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2212 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-02-06 07:25:50 +00:00
parent 73268a7d71
commit b2e50cbc54
3 changed files with 43 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,22 @@
#!/bin/sh
if test -d "RetroShare" ; then
echo Please remove the RetroShare/ directory first.
exit
fi
packages="."
tar zxvf $packages/BaseRetroShareDirs.tgz
cd retroshare-0.5/src/libretroshare/
svn co https://retroshare.svn.sourceforge.net/svnroot/retroshare/trunk/libretroshare/src .
cd ../../..
cd retroshare-0.5/src/retroshare-gui/
svn co https://retroshare.svn.sourceforge.net/svnroot/retroshare/trunk/retroshare-gui/src .
cd ../../..
cd retroshare-0.5
debuild -S

View File

@ -0,0 +1,21 @@
#!/bin/sh
rm BaseRetroShareDirs.tgz
rm -rf retroshare-0.5/src/libretroshare/*
rm -rf retroshare-0.5/src/libretroshare/.svn/
rm -rf retroshare-0.5/src/retroshare-gui/*
rm -rf retroshare-0.5/src/retroshare-gui/.svn/
find retroshare-0.5 -name "*~" -exec \rm {} \;
tar zcvf BaseRetroShareDirs.tgz retroshare-0.5/
if ! test -f BaseRetroShareDirs.tgz; then
echo BaseRetroShareDirs.tgz could not be created
exit;
fi
rm -rf retroshare-0.5/