r6650 - packages/trunk/alien-arena/debian

Andres Mejia ceros-guest at alioth.debian.org
Fri Apr 18 21:45:11 UTC 2008


Author: ceros-guest
Date: 2008-04-18 21:45:11 +0000 (Fri, 18 Apr 2008)
New Revision: 6650

Modified:
   packages/trunk/alien-arena/debian/alien-arena-get-orig-source
   packages/trunk/alien-arena/debian/changelog
Log:
Preparing new upstream release.

Modified: packages/trunk/alien-arena/debian/alien-arena-get-orig-source
===================================================================
--- packages/trunk/alien-arena/debian/alien-arena-get-orig-source	2008-04-18 16:29:13 UTC (rev 6649)
+++ packages/trunk/alien-arena/debian/alien-arena-get-orig-source	2008-04-18 21:45:11 UTC (rev 6650)
@@ -3,9 +3,9 @@
 # This script is used to generate the alien-arena orig tarball that can be
 # distributed through Debian.
 
-ALIEN_ARENA_TARBALL="alienarena2007-20071011-linux.zip"
-ALIEN_ARENA_VERSION="6.10"
-CORRECT_CHECKSUM="7ebb0dfeec4be80311921a075379c8dc"
+ALIEN_ARENA_TARBALL="alienarena2008-linux20080227.zip"
+ALIEN_ARENA_VERSION="7.0"
+CORRECT_CHECKSUM="5fcb17a65e220b1aad5ec25f97b35932"
 
 USAGE="\
 alien-arena orig tarball download script\n\
@@ -24,9 +24,7 @@
             exit 1
             ;;
         --keep-upstream-tarball)
-            echo "The 'keep-upstream-tarball' option will have meaning once a"
-            echo "suitable location to download the upstream tarball directly"
-            echo "is found."
+            KEEP_UPSTREAM_TARBALL=1
             shift
             ;;
         --keep-orig-dir)
@@ -38,16 +36,8 @@
 
 if [ ! -f $ALIEN_ARENA_TARBALL ] ; then
 	# Download upstream zip file
-	#wget -c http://icculus.org/alienarena/files/$ALIEN_ARENA_TARBALL
-	#echo "Downloaded upstream zip file"
-	# TODO: Need to find a direct download of the upstream source tarball.
-	echo "Currently, there is no suitable location to directly download the"
-	echo "upstream source tarball. Until one is found, you will have to use"
-	echo "one of the sites that ask for registration, or makes you wait in"
-	echo "line to get the upstream source tarball. This script should still"
-	echo "work correctly if your running it from a directory with the upstream"
-	echo "source. The upstream source should be named $ALIEN_ARENA_TARBALL."
-	exit 1
+	wget -c http://icculus.org/alienarena/Files/$ALIEN_ARENA_TARBALL
+	echo "Downloaded upstream zip file."
 fi
 
 # Verify the checksum
@@ -64,26 +54,29 @@
 fi
 
 # Prepare the alien-arena orig tarball
-if [ ! -d alienarena2007 ]; then
+if [ ! -d alienarena2008 ]; then
 	echo -n "Extracting $ALIEN_ARENA_TARBALL..."
 	unzip -qq $ALIEN_ARENA_TARBALL
 	echo "done."
 else
-	echo "Already found extracted alienarena2007 directory. Please remove 
-or move alienarena2007 and alien-arena-$ALIEN_ARENA_VERSION directories and also alien-arena_$ALIEN_ARENA_VERSION.orig.tar.gz."
+	echo "Already found extracted alienarena2008 directory. Please remove
+or move alienarena2008 and alien-arena-$ALIEN_ARENA_VERSION directories and also alien-arena_$ALIEN_ARENA_VERSION.orig.tar.gz."
 	exit 1
 fi
 if [ ! -d alien-arena-$ALIEN_ARENA_VERSION ]; then
-	echo "Renaming extracted alienarena2007 directory to alien-arena-$ALIEN_ARENA_VERSION"
-	mv alienarena2007 alien-arena-$ALIEN_ARENA_VERSION
+	echo "Renaming extracted alienarena2008 directory to alien-arena-$ALIEN_ARENA_VERSION"
+	mv alienarena2008 alien-arena-$ALIEN_ARENA_VERSION
 else
-	echo "Already found alien-arena-$ALIEN_ARENA_VERSION directory. Please remove 
-or move alienarena2007 and alien-arena-$ALIEN_ARENA_VERSION directories and also alien-arena_$ALIEN_ARENA_VERSION.orig.tar.gz."
+	echo "Already found alien-arena-$ALIEN_ARENA_VERSION directory. Please remove
+or move alienarena2008 and alien-arena-$ALIEN_ARENA_VERSION directories and also alien-arena_$ALIEN_ARENA_VERSION.orig.tar.gz."
 	exit 1
 fi
 
 # Remove all precompiled binaries
 echo "Removing all precompiled binaries"
+rm alien-arena-$ALIEN_ARENA_VERSION/crded
+rm alien-arena-$ALIEN_ARENA_VERSION/crx
+rm alien-arena-$ALIEN_ARENA_VERSION/crx.sdl
 for REMOVE_DLL in `find alien-arena-$ALIEN_ARENA_VERSION -name *.dll`; do
 	rm -r "$REMOVE_DLL"
 done
@@ -128,6 +121,11 @@
 		rm -rf alien-arena-$ALIEN_ARENA_VERSION/
 		echo "done."
 	fi
+    if [ ! -n "$KEEP_UPSTREAM_TARBALL" ]; then
+        echo -n "Removing upstream tarball..."
+        rm $ALIEN_ARENA_TARBALL
+        echo "done."
+    fi
 else
 	echo "Already found orig tarball. Please remove or move
 alien-arena_$ALIEN_ARENA_VERSION.orig.tar.gz."

Modified: packages/trunk/alien-arena/debian/changelog
===================================================================
--- packages/trunk/alien-arena/debian/changelog	2008-04-18 16:29:13 UTC (rev 6649)
+++ packages/trunk/alien-arena/debian/changelog	2008-04-18 21:45:11 UTC (rev 6650)
@@ -1,4 +1,4 @@
-alien-arena (6.10-3) unstable; urgency=low
+alien-arena (7.0-1~unreleased0) unstable; urgency=low
 
   [ Barry deFreese ]
   * Escape - in alien-arena-server.6.
@@ -11,6 +11,7 @@
   * Remove Homepage from package description.
 
   [ Andres Mejia ]
+  * New upstream release.
   * Removing XS- part for Vcs-* lines.
   * Removing +ssh part of Vcs-Svn line.
   * Bumped to Standards-Version 3.7.3.
@@ -33,7 +34,7 @@
     reproduce the bug after deleting the ~/.alien-arena directory.
     + Closes: #457700
 
- -- Barry deFreese <bddebian at comcast.net>  Sat, 29 Mar 2008 10:46:04 -0400
+ -- Andres Mejia <mcitadel at gmail.com>  Fri, 18 Apr 2008 17:43:24 -0400
 
 alien-arena (6.10-2) unstable; urgency=low
 




More information about the Pkg-games-commits mailing list