mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-28 10:32:22 -04:00
freshen build script
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2121 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e2549624f6
commit
b8c2367c41
1 changed files with 2 additions and 3 deletions
|
@ -12,7 +12,6 @@ echo done.
|
||||||
version="$version"."$svn"
|
version="$version"."$svn"
|
||||||
pkgname=RetroShare_"$version"_ubuntu_"$arch".deb
|
pkgname=RetroShare_"$version"_ubuntu_"$arch".deb
|
||||||
|
|
||||||
echo
|
|
||||||
echo Building retroshare debian package version $version for Ubuntu $arch.
|
echo Building retroshare debian package version $version for Ubuntu $arch.
|
||||||
echo Please check that:
|
echo Please check that:
|
||||||
echo " "- you have sudo access and that root has right to write in this directory and the subdirectories.
|
echo " "- you have sudo access and that root has right to write in this directory and the subdirectories.
|
||||||
|
@ -45,7 +44,6 @@ cat retroshare/DEBIAN/control | sed -e s/XXXXXX/"$version"/g | sed -e s/YYYYYY/"
|
||||||
mv retroshare/DEBIAN/control.tmp retroshare/DEBIAN/control
|
mv retroshare/DEBIAN/control.tmp retroshare/DEBIAN/control
|
||||||
|
|
||||||
# clean
|
# clean
|
||||||
echo Cleaning...
|
|
||||||
find retroshare -name "*~" -exec \rm -f {} \;
|
find retroshare -name "*~" -exec \rm -f {} \;
|
||||||
|
|
||||||
# copy executables at the right place
|
# copy executables at the right place
|
||||||
|
@ -59,6 +57,7 @@ if ! test -f ../../retroshare-nogui/src/retroshare-nogui; then
|
||||||
echo
|
echo
|
||||||
exit ;
|
exit ;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo Stripping executables...
|
echo Stripping executables...
|
||||||
cp ../../retroshare-gui/src/RetroShare retroshare/usr/bin/
|
cp ../../retroshare-gui/src/RetroShare retroshare/usr/bin/
|
||||||
strip retroshare/usr/bin/RetroShare
|
strip retroshare/usr/bin/RetroShare
|
||||||
|
@ -74,7 +73,7 @@ echo Creating package $pkgname
|
||||||
dpkg-deb -b retroshare $pkgname
|
dpkg-deb -b retroshare $pkgname
|
||||||
|
|
||||||
# cleaning
|
# cleaning
|
||||||
echo Cleaning...
|
echo Cleaning up...
|
||||||
\rm -rf retroshare
|
\rm -rf retroshare
|
||||||
|
|
||||||
echo Done.
|
echo Done.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue