mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
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:
parent
55653325d1
commit
3695dc8b5b
@ -10,6 +10,8 @@ echo attempting to get svn revision number...
|
|||||||
svn=`svn info | grep 'Revision:' | cut -d\ -f2`
|
svn=`svn info | grep 'Revision:' | cut -d\ -f2`
|
||||||
echo done.
|
echo done.
|
||||||
version="$version"."$svn"
|
version="$version"."$svn"
|
||||||
|
pkgname=RetroShare_"$version"_ubuntu_"$arch".deb
|
||||||
|
|
||||||
echo
|
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:
|
||||||
@ -18,7 +20,7 @@ echo " "- you have compiled libretroshare and retroshare-gui in ../../libretr
|
|||||||
echo " "and ../../retroshare-gui/src/
|
echo " "and ../../retroshare-gui/src/
|
||||||
echo " "- you have updated version numbers in ../../retroshare-gui/src/util/rsversion.cpp
|
echo " "- you have updated version numbers in ../../retroshare-gui/src/util/rsversion.cpp
|
||||||
echo " "and ../../retroshare-gui/src/retroshare.nsi
|
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
|
if ! test `whoami` = "root" ; then
|
||||||
echo Please run this script as root.
|
echo Please run this script as root.
|
||||||
@ -68,9 +70,8 @@ echo Computing/setting md5 sums...
|
|||||||
cd retroshare
|
cd retroshare
|
||||||
find usr -type f -exec md5sum {} \; > DEBIAN/md5sums
|
find usr -type f -exec md5sum {} \; > DEBIAN/md5sums
|
||||||
cd ..
|
cd ..
|
||||||
echo Creating package RetroShare_"$version"_ubuntu_hardy_"$arch".deb
|
echo Creating package $pkgname
|
||||||
|
dpkg-deb -b retroshare $pkgname
|
||||||
dpkg-deb -b retroshare RetroShare_"$version"_ubuntu_hardy_"$arch".deb
|
|
||||||
|
|
||||||
# cleaning
|
# cleaning
|
||||||
echo Cleaning...
|
echo Cleaning...
|
||||||
|
Loading…
Reference in New Issue
Block a user