r668 - scripts/trunk
Stefan Potyra
sistpoty-guest at costa.debian.org
Sun May 14 21:10:29 UTC 2006
Author: sistpoty-guest
Date: 2006-05-14 21:10:28 +0000 (Sun, 14 May 2006)
New Revision: 668
Added:
scripts/trunk/trigger-data.sh
scripts/trunk/trigger.sh
Log:
adding quick+dirty scripts to build trigger and trigger-data packages from
svn.
Added: scripts/trunk/trigger-data.sh
===================================================================
--- scripts/trunk/trigger-data.sh 2006-05-14 20:30:40 UTC (rev 667)
+++ scripts/trunk/trigger-data.sh 2006-05-14 21:10:28 UTC (rev 668)
@@ -0,0 +1,48 @@
+#!/bin/bash
+
+# bail out on errors (better safe than sorry)
+set -e
+
+# not sure if needed
+BUILDDIR=$(pwd)
+
+# name of the package
+PACKAGE="trigger-data"
+
+# svn server
+SVNSRV="svn.debian.org"
+# path to pkg-games
+SVNGAMESPATH="svn/pkg-games/packages"
+# relative path to package (in case it's not right under packages/${PACKAGE})
+SVNRELPATH="trigger"
+# svn-user (adjust to your svn username)
+SVNUSER=$(whoami)
+# svn method
+SVNMETHOD="svn+ssh"
+
+echo "Checking out ${PACKAGE} from svn."
+
+# check out the package
+if [ ! -z ${SVNUSER} ]; then
+ svn co ${SVNMETHOD}://${SVNUSER}@${SVNSRV}/${SVNGAMESPATH}/${SVNRELPATH}/${PACKAGE}
+else
+ svn co ${SVNMETHOD}://${SVNSRV}/${SVNGAMESPATH}/${SVNRELPATH}/${PACKAGE}
+fi
+
+
+# create directory for orig.tar.gz
+mkdir ${PACKAGE}/tarballs
+
+# move to turnk directory
+cd ${PACKAGE}/trunk
+
+echo "Fetching the orig-tarball."
+
+# get orig-tarball
+make -f debian/rules get-orig-source
+
+echo "Building sourcepackage of ${PACKAGE}."
+# build the sourcepackage
+svn-buildpackage -rfakeroot -S -sa -us -uc
+
+echo "Sourcepackage of ${PACKAGE} should reside in ${PACKAGE}/build-area."
Property changes on: scripts/trunk/trigger-data.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: scripts/trunk/trigger.sh
===================================================================
--- scripts/trunk/trigger.sh 2006-05-14 20:30:40 UTC (rev 667)
+++ scripts/trunk/trigger.sh 2006-05-14 21:10:28 UTC (rev 668)
@@ -0,0 +1,48 @@
+#!/bin/bash
+
+# bail out on errors (better safe than sorry)
+set -e
+
+# not sure if needed
+BUILDDIR=$(pwd)
+
+# name of the package
+PACKAGE="trigger"
+
+# svn server
+SVNSRV="svn.debian.org"
+# path to pkg-games
+SVNGAMESPATH="svn/pkg-games/packages"
+# relative path to package (in case it's not right under packages/${PACKAGE})
+SVNRELPATH="trigger"
+# svn-user (adjust to your svn username)
+SVNUSER=$(whoami)
+# svn method
+SVNMETHOD="svn+ssh"
+
+echo "Checking out ${PACKAGE} from svn."
+
+# check out the package
+if [ ! -z ${SVNUSER} ]; then
+ svn co ${SVNMETHOD}://${SVNUSER}@${SVNSRV}/${SVNGAMESPATH}/${SVNRELPATH}/${PACKAGE}
+else
+ svn co ${SVNMETHOD}://${SVNSRV}/${SVNGAMESPATH}/${SVNRELPATH}/${PACKAGE}
+fi
+
+
+# create directory for orig.tar.gz
+mkdir ${PACKAGE}/tarballs
+
+# move to turnk directory
+cd ${PACKAGE}/trunk
+
+echo "Fetching the orig-tarball."
+
+# get orig-tarball
+make -f debian/rules get-orig-source
+
+echo "Building sourcepackage of ${PACKAGE}."
+# build the sourcepackage
+svn-buildpackage -rfakeroot -S -sa -us -uc
+
+echo "Sourcepackage of ${PACKAGE} should reside in ${PACKAGE}/build-area."
Property changes on: scripts/trunk/trigger.sh
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-games-commits
mailing list