[cube2font] 06/18: Adapt watch & get-orig source to upstream GitHub
Martin Werner
arand-guest at moszumanska.debian.org
Fri Apr 24 12:33:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
arand-guest pushed a commit to branch master
in repository cube2font.
commit fad0e74e850581eb25181d52444888e53ee211ce
Author: Martin Erik Werner <martinerikwerner at gmail.com>
Date: Fri Apr 24 13:15:43 2015 +0200
Adapt watch & get-orig source to upstream GitHub
---
debian/rules | 8 ++++----
debian/watch | 3 ++-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/debian/rules b/debian/rules
index 37aeffd..8e2c786 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,11 +27,11 @@ override_dh_builddeb:
DIR=cube2font-$(DEB_VERSION_UPSTREAM).orig
get-orig-source:
- uscan --noconf --force-download --download-current-version --destdir=.
+ uscan --noconf --rename --force-download --download-current-version --destdir=.
rm -rf $(DIR)
- tar -xf cube2font_$(DEB_VERSION_UPSTREAM).orig.tar.bz2
- rm -f cube2font_$(DEB_VERSION_UPSTREAM).orig.tar.bz2
- mv redeclipse/ $(DIR)
+ tar -xf cube2font_$(DEB_VERSION_UPSTREAM).orig.tar.gz
+ rm -f cube2font_$(DEB_VERSION_UPSTREAM).orig.tar.gz
+ mv base-$(DEB_VERSION_UPSTREAM) $(DIR)
find $(DIR) -mindepth 1 -not -name src \
-not -name shared \
-not -name doc \
diff --git a/debian/watch b/debian/watch
index a2e8e63..22c5fc1 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=3
-http://sf.net/redeclipse/redeclipse_([0-9\.]+)_(?:nix|linux)(?:_bsd)\.tar\.bz2
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/redeclipse-$1\.tar\.gz/ \
+ https://github.com/red-eclipse/base/tags .*/v?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/cube2font.git
More information about the Pkg-games-commits
mailing list