Author: ceros-guest
Date: 2008-01-17 16:27:25 +0000 (Thu, 17 Jan 2008)
New Revision: 5426

Modified:
   packages/trunk/ogreal/debian/changelog
   packages/trunk/ogreal/debian/ogreal-tarball.sh
Log:
Modified ogreal.tarball.sh.

Modified: packages/trunk/ogreal/debian/changelog
===================================================================
--- packages/trunk/ogreal/debian/changelog      2008-01-17 16:11:31 UTC (rev 
5425)
+++ packages/trunk/ogreal/debian/changelog      2008-01-17 16:27:25 UTC (rev 
5426)
@@ -1,6 +1,6 @@
-ogreal (0.2+svn20071115.84-1) experimental; urgency=low
+ogreal (0.2.5~svn20080117.r111-1) experimental; urgency=low
 
   [ Andres Mejia ]
   * Initial packaging.
 
- -- Andres Mejia <[EMAIL PROTECTED]>  Thu, 15 Nov 2007 14:28:41 -0500
+ -- Andres Mejia <[EMAIL PROTECTED]>  Thu, 17 Jan 2008 11:17:02 -0500

Modified: packages/trunk/ogreal/debian/ogreal-tarball.sh
===================================================================
--- packages/trunk/ogreal/debian/ogreal-tarball.sh      2008-01-17 16:11:31 UTC 
(rev 5425)
+++ packages/trunk/ogreal/debian/ogreal-tarball.sh      2008-01-17 16:27:25 UTC 
(rev 5426)
@@ -3,27 +3,30 @@
 # This script is used to generate the ogreal orig tarball that can be
 # distributed through Debian.
 
-UPSTREAM_SVN=https://ogreal.svn.sourceforge.net/svnroot/ogreal/trunk/OgreAL-Eihort
-REVISION=84
-ORIGINAL_DATE=20071115
+# Currently only available through SVN
+UPSTREAM_SVN="https://ogreal.svn.sourceforge.net/svnroot/ogreal/trunk/OgreAL-Eihort";
+ORIGINAL_DATE="20080117"
+REVISION="111"
+#OGREAL_TARBALL=""
+OGREAL_VERSION="0.2.5~svn$ORIGINAL_DATE.r$REVISION"
 
-if [ ! -d ogreal-0.2+svn$ORIGINAL_DATE.$REVISION ] ; then
+if [ ! -d ogreal-$OGREAL_VERSION ]; then
 # Checkout from SVN
-       svn co -r $REVISION $UPSTREAM_SVN ogreal-0.2+svn$ORIGINAL_DATE.$REVISION
+       svn co -r $REVISION $UPSTREAM_SVN ogreal-$OGREAL_VERSION
        echo "Checked out ogreal revision $REVISION from SVN"
 fi
 
 # Remove all SVN directories
 echo "Removing all .svn directories"
-for REMOVE_SVN in `find ogreal-0.2+svn$ORIGINAL_DATE.$REVISION -type d -name 
.svn`; do
+for REMOVE_SVN in `find ogreal-$OGREAL_VERSION -type d -name .svn`; do
        rm -rf "$REMOVE_SVN"
 done
 
 # Create the tarball
-if [ ! -f ogreal-0.2+svn$ORIGINAL_DATE.$REVISION.orig.tar.gz ]; then
+if [ ! -f ogreal_$OGREAL_VERSION.orig.tar.gz ]; then
        echo "Creating orig tarball."
-       tar -czf ogreal_0.2+svn$ORIGINAL_DATE.$REVISION.orig.tar.gz 
ogreal-0.2+svn$ORIGINAL_DATE.$REVISION/
+       tar -czf ogreal_$OGREAL_VERSION.orig.tar.gz ogreal-$OGREAL_VERSION/
 else
-       echo -e "Already found orig tarball. Please remove or move \n 
ogreal-0.2+svn$ORIGINAL_DATE.$REVISION.orig.tar.gz."
-       exit 0
+       echo -e "Already found orig tarball. Please remove or move 
ogreal-$OGREAL_VERSION.tar.gz."
+       exit 1
 fi


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to