RetroShare/build_scripts/Ubuntu_src/make_tgz.sh
csoler 959d7a0855 Improved packaging scripts
- use the hierarchy in the svn
- removed binary archives, replaced by actual files (easier to handle)
- added packaging rules for FeedReader
- added one package for retroshare-nogui (not anymore in the main package)


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6097 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2013-01-28 14:29:23 +00:00

23 lines
468 B
Bash
Executable File

#!/bin/sh
rm BaseRetroShareDirs.tgz
mv retroshare-0.5/src/data retroshare-0.5/
rm -rf retroshare-0.5/libssh-0.5.2
rm -rf retroshare-0.5/src/*
mv retroshare-0.5/data retroshare-0.5/src/
find retroshare-0.5 -name "*~" -exec \rm {} \;
find retroshare-0.5 -name ".svn" -exec \rm -rf {} \;
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/