[libtruth-java] 02/03: Added debian/rules get-orig-source target

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Nov 9 23:56:44 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository libtruth-java.

commit 1ac9e2d4409d90e4d10d778f4d008efc01dcd701
Author: Steffen Möller <moeller at debian.org>
Date:   Wed Aug 29 15:04:01 2012 +0000

    Added debian/rules get-orig-source target
---
 debian/control |  2 +-
 debian/rules   | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 8e9fddd..5aad7b2 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Brian Thomason <brian.thomason at eucalyptus.com>
 Build-Depends: debhelper (>= 8.0.0), ant-optional, java7-jdk, javahelper
 Build-Depends-Indep: maven-repo-helper, junit4
 Standards-Version: 3.9.3
-Homepage: https://github.com/truth0
+Homepage: https://github.com/truth0/truth
 
 Package: libtruth-java
 Architecture: all
diff --git a/debian/rules b/debian/rules
index f5cbf4d..588ba0b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,3 +18,15 @@ override_dh_auto_clean:
 	dh_auto_clean
 	mh_clean
 	rm -rf *.jar
+
+get-orig-source:
+	if [ -d truth ]; then \
+	   echo "Please remove/rename existing 'truth' directory.\n"; \
+	else \
+	   git clone https://github.com/truth0/truth.git ; \
+	   cd truth ; \
+	   git checkout e3b40022c6e6b6a4fe33c04f51fb5b0c60e31ece ; \
+	   mv truth libtruth-java-0.7.0 ; \
+	   GZIP=-9n tar --exclude .git -czvf libtruth-java_0.7.0.orig.tar.gz libtruth-java-0.7.0 ; \
+	fi
+

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



More information about the pkg-java-commits mailing list