[Pkg-mozext-commits] [SCM] UNNAMED PROJECT branch, upstream, updated. upstream/1.3.0.2+dfsg-21-g19af840

Michael Meskes meskes at debian.org
Tue Aug 9 15:47:59 UTC 2011


The following commit has been merged in the upstream branch:
commit 6fe2346dc065f7b4c4866e5156152cd836fa6039
Author: Michael Meskes <meskes at debian.org>
Date:   Wed Jun 22 15:53:57 2011 +0200

    Made uscan create orig tarbll automatically.

diff --git a/debian/repack.sh b/debian/repack.sh
new file mode 100755
index 0000000..97fd141
--- /dev/null
+++ b/debian/repack.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+VERSION=$2
+XPI=$3
+PACKAGE=$(dpkg-parsechangelog | sed -n 's/^Source: //p')
+TAR=../${PACKAGE}_${VERSION}.orig.tar.gz
+DIR=../${PACKAGE}-${VERSION}
+
+/usr/bin/xpi-unpack $XPI $DIR
+
+tar -zcf ../${PACKAGE}_${VERSION}+dfsg.orig.tar.gz --exclude *.exe $DIR
+
+rm -rf $DIR
+rm $XPI
+
diff --git a/debian/watch b/debian/watch
index 46602f0..b2e1ce7 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
 opts=dversionmangle=s/\+dfsg$//;s/\~// \
-  http://flashgot.net/getit .*/releases/flashgot-(.*)\.xpi
+  http://flashgot.net/getit .*/releases/flashgot-(.*)\.xpi debian debian/repack.sh

-- 
UNNAMED PROJECT



More information about the Pkg-mozext-commits mailing list