r721 - scripts/trunk
Gonéri Le Bouder
goneri-guest at costa.debian.org
Sun May 21 20:47:04 UTC 2006
Author: goneri-guest
Date: 2006-05-21 20:47:04 +0000 (Sun, 21 May 2006)
New Revision: 721
Added:
scripts/trunk/blockattack.sh
Log:
import of the script
Added: scripts/trunk/blockattack.sh
===================================================================
--- scripts/trunk/blockattack.sh 2006-05-21 20:46:01 UTC (rev 720)
+++ scripts/trunk/blockattack.sh 2006-05-21 20:47:04 UTC (rev 721)
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+BUILDDIR=`pwd`
+RELEASE="112" # NOTE: Before uploading the next release, please check the tarballs for svn stuff and uncomment those lines here to get it removed
+DEBRELEASE=${RELEASE}-1 #this could be extracted from the changelog file
+PKG="blockattack"
+TARBALL="$PKG\_$RELEASE.orig.tar.gz"
+URL="http://ovh.dl.sourceforge.net/sourceforge/blockattack/BlockAttackLinux112.tar.gz"
+
+
+mkdir -p $BUILDDIR/upstream
+mkdir -p $BUILDDIR/build
+
+cd $BUILDDIR/upstream
+if [ ! -f $TARBALL ]
+then
+ wget $URL
+ tar xfz BlockAttackLinux$RELEASE.tar.gz
+ mv BlockAttackLinux $PKG-$RELEASE
+ tar cfz $TARBALL $PKG-$RELEASE/
+ rm -Rf $PKG-$RELEASE
+fi
+
+cd $BUILDDIR/build
+cp ../upstream/$TARBALL .
+tar xfz $TARBALL
+cd $PKG-$RELEASE
+rm -rf debian
+svn export svn://svn.debian.org/pkg-games/packages/$PKG/tags/$DEBRELEASE
Property changes on: scripts/trunk/blockattack.sh
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-games-commits
mailing list