mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-11 23:49:38 -05:00
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:
parent
73268a7d71
commit
b2e50cbc54
BIN
build_scripts/Ubuntu_src/BaseRetroShareDirs.tgz
Normal file
BIN
build_scripts/Ubuntu_src/BaseRetroShareDirs.tgz
Normal file
Binary file not shown.
22
build_scripts/Ubuntu_src/makeSourcePackage.sh
Executable file
22
build_scripts/Ubuntu_src/makeSourcePackage.sh
Executable 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
|
||||
|
21
build_scripts/Ubuntu_src/make_tgz.sh
Executable file
21
build_scripts/Ubuntu_src/make_tgz.sh
Executable 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/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user