r43808 - in /packages/pcl/trunk/debian: orig-tar.sh watch

malat-guest at users.alioth.debian.org malat-guest at users.alioth.debian.org
Tue Aug 23 15:33:38 UTC 2011


Author: malat-guest
Date: Tue Aug 23 15:33:38 2011
New Revision: 43808

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=43808
Log:
Fix uscan

Added:
    packages/pcl/trunk/debian/orig-tar.sh   (with props)
Modified:
    packages/pcl/trunk/debian/watch

Added: packages/pcl/trunk/debian/orig-tar.sh
URL: http://svn.debian.org/wsvn/debian-science/packages/pcl/trunk/debian/orig-tar.sh?rev=43808&op=file
==============================================================================
--- packages/pcl/trunk/debian/orig-tar.sh (added)
+++ packages/pcl/trunk/debian/orig-tar.sh Tue Aug 23 15:33:38 2011
@@ -1,0 +1,17 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=../pcl_$2.orig.tar.gz
+DIR=pcl-$2-src
+
+# clean up the upstream tarball
+unzip $3
+tar -czf $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

Propchange: packages/pcl/trunk/debian/orig-tar.sh
------------------------------------------------------------------------------
    svn:executable = *

Modified: packages/pcl/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/pcl/trunk/debian/watch?rev=43808&op=diff
==============================================================================
--- packages/pcl/trunk/debian/watch (original)
+++ packages/pcl/trunk/debian/watch Tue Aug 23 15:33:38 2011
@@ -1,2 +1,3 @@
 version=3
-http://pointclouds.org/downloads/ PCL-(.*)-Source.tar.bz2
+http://pointclouds.org/downloads/ .*PCL-(.*)-Source.tar.bz2 \
+debian debian/orig-tar.sh




More information about the debian-science-commits mailing list