[SCM] stapler-adjunct-timeline packaging branch, master, updated. debian/1.3-1-4-ge013d45

James Page james.page at canonical.com
Fri Oct 28 08:19:18 UTC 2011


The following commit has been merged in the master branch:
commit 0f615633f310e6afbc963fe389a58440e411a746
Author: James Page <james.page at canonical.com>
Date:   Fri Oct 28 08:50:35 2011 +0100

    Purge javascript from upstream source

diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..850ae8b
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,16 @@
+#/bin/sh -e
+
+VERSION=$2
+TAR=../stapler-adjunct-timeline_$VERSION.orig.tar.gz
+DIR=stapler-adjunct-timeline-$VERSION
+mkdir -p $DIR
+
+# Unpack ready fo re-packing
+tar -xzf $TAR -C $DIR --strip-components=1
+
+# Repack excluding stuff we don't need
+GZIP=--best tar -czf $TAR --exclude 'timeline_js' --exclude 'timeline_ajax' \
+     --exclude 'CVS' --exclude '.svn' --exclude 'debian' --exclude 'src/test' \
+     $DIR
+rm -rf $DIR
+
diff --git a/debian/watch b/debian/watch
index 781fadd..1766642 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
 opts=dversionmangle=s/\.dfsg// \
-http://githubredir.debian.net/github/stapler/stapler-adjunct-timeline/ stapler-adjunct-timeline-(.*).tar.gz 
+http://githubredir.debian.net/github/stapler/stapler-adjunct-timeline/ stapler-adjunct-timeline-(.*).tar.gz  debian debian/orig-tar.sh

-- 
stapler-adjunct-timeline packaging



More information about the pkg-java-commits mailing list