[redeclipse] 185/494: Add prospecive watch file and get-orig-source

Martin Werner arand-guest at moszumanska.debian.org
Sun Jun 21 20:52:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

arand-guest pushed a commit to branch debdir
in repository redeclipse.

commit 1f774bdf31f587cfcf360c1805f6fd5d7b99ef6d
Author: Arand Nash <ienorand at gmail.com>
Date:   Sun May 15 12:46:09 2011 +0100

    Add prospecive watch file and get-orig-source
---
 rules | 20 ++++++++++++++++++++
 watch |  3 +++
 2 files changed, 23 insertions(+)

diff --git a/rules b/rules
index 84b7c20..17b68cb 100755
--- a/rules
+++ b/rules
@@ -22,3 +22,23 @@ override_dh_strip:
 
 override_dh_clean:
 	dh_clean debian/redeclipse.png debian/redeclipse.xpm bin/reclient_native bin/reserver_native
+
+URL="https://redeclipse.svn.sourceforge.net/svnroot/redeclipse"
+REV="$(shell dpkg-parsechangelog | sed -rne 's,^Version: .*[+~]svn([0-9]+).*,\1,p')"
+VER="$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')"
+DIR="redeclipse-$(VER).orig"
+TARBALL="$(DIR).tar.gz"
+get-orig-source:
+	rm -rf $(DIR)
+	svn -q export -r $(REV) $(URL) $(DIR)
+	( \
+		cd $(DIR)
+		rm -rf src/include/
+		rm -rf src/xcode/
+		rm -rf src/lib/
+		rm -rf src/site/
+		rm -rf bin/
+		rm -f data/fonts/akashi.ttf
+	GZIP=--best tar -cz --owner root --group root --mode a+rX \
+		-f $(TARBALL) $(DIR)
+	rm -rf $(DIR)
diff --git a/watch b/watch
new file mode 100644
index 0000000..a94534a
--- /dev/null
+++ b/watch
@@ -0,0 +1,3 @@
+# This is not used when tracking svn
+#version=3
+# http://sf.net/redeclipse/redeclipse_([\.0-9]+)_linux\.tar\.bz2

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/redeclipse.git



More information about the Pkg-games-commits mailing list