updated build script

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1056 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2009-02-26 14:13:39 +00:00
parent 55653325d1
commit 3695dc8b5b

View File

@ -10,6 +10,8 @@ echo attempting to get svn revision number...
svn=`svn info | grep 'Revision:' | cut -d\ -f2`
echo done.
version="$version"."$svn"
pkgname=RetroShare_"$version"_ubuntu_"$arch".deb
echo
echo Building retroshare debian package version $version for Ubuntu $arch.
echo Please check that:
@ -18,7 +20,7 @@ echo " "- you have compiled libretroshare and retroshare-gui in ../../libretr
echo " "and ../../retroshare-gui/src/
echo " "- you have updated version numbers in ../../retroshare-gui/src/util/rsversion.cpp
echo " "and ../../retroshare-gui/src/retroshare.nsi
echo " "- version and name will be: RetroShare_"$version"_ubuntu_hardy_"$arch".deb
echo " "- version and name will be: $pkgname
if ! test `whoami` = "root" ; then
echo Please run this script as root.
@ -68,9 +70,8 @@ echo Computing/setting md5 sums...
cd retroshare
find usr -type f -exec md5sum {} \; > DEBIAN/md5sums
cd ..
echo Creating package RetroShare_"$version"_ubuntu_hardy_"$arch".deb
dpkg-deb -b retroshare RetroShare_"$version"_ubuntu_hardy_"$arch".deb
echo Creating package $pkgname
dpkg-deb -b retroshare $pkgname
# cleaning
echo Cleaning...