r45536 - in /packages/scalasca/trunk/debian: orig-tar.sh watch
sylvestre at users.alioth.debian.org
sylvestre at users.alioth.debian.org
Sun Jan 20 22:12:31 UTC 2013
Author: sylvestre
Date: Sun Jan 20 22:12:30 2013
New Revision: 45536
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=45536
Log:
add a repack script
Added:
packages/scalasca/trunk/debian/orig-tar.sh (with props)
Modified:
packages/scalasca/trunk/debian/watch
Added: packages/scalasca/trunk/debian/orig-tar.sh
URL: http://svn.debian.org/wsvn/debian-science/packages/scalasca/trunk/debian/orig-tar.sh?rev=45536&op=file
==============================================================================
--- packages/scalasca/trunk/debian/orig-tar.sh (added)
+++ packages/scalasca/trunk/debian/orig-tar.sh Sun Jan 20 22:12:30 2013
@@ -1,0 +1,20 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DIR=scalasca-$2
+TAR=../scalasca_$2.orig.tar.bz2
+
+# clean up the upstream tarball
+tar zxvf $3
+rm $DIR/doc/*.pdf
+tar -c -j -f $TAR $DIR
+rm -rf $DIR $3
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
+
+exit 0
Propchange: packages/scalasca/trunk/debian/orig-tar.sh
------------------------------------------------------------------------------
svn:executable = *
Modified: packages/scalasca/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/scalasca/trunk/debian/watch?rev=45536&op=diff
==============================================================================
--- packages/scalasca/trunk/debian/watch (original)
+++ packages/scalasca/trunk/debian/watch Sun Jan 20 22:12:30 2013
@@ -1,3 +1,4 @@
version=3
http://www.scalasca.org/download/scalasca/scalasca.html \
-.*/scalasca-(.*)\.tar\.gz
+.*/scalasca-(.*)\.tar\.gz debian debian/orig-tar.sh
+
More information about the debian-science-commits
mailing list