The following commit has been merged in the master branch:
commit bfa2c0b100c79d1a2be06d306a37000600c257bd
Author: Vincent Legout <[email protected]>
Date: Wed Dec 8 21:52:11 2010 +0100
Update get-orig-source target
diff --git a/debian/changelog b/debian/changelog
index 1b9c575..d32f1a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ fairymax (4.8q-1) UNRELEASED; urgency=low
* Switch to 3.0 (quilt) source format
* Bump to Standards-Version 3.9.1
* Use debian/clean instead of override_dh_auto_clean to remove fmax.man
+ * Update get-orig-source target
-- Vincent Legout <[email protected]> Wed, 08 Dec 2010 21:10:22 +0100
diff --git a/debian/rules b/debian/rules
index ca16696..3038f30 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,11 +3,13 @@
%:
dh $@
-VERSION=4.8o
+major := 4.8
+minor := q
+minor_cap := $(shell echo $(minor) | tr a-z A-Z)
get-orig-source:
- wget -c http://home.hccnet.nl/h.g.muller/fairymax.tar.gz
+ wget
"http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git;a=snapshot;h=refs/tags/$(major)$(minor_cap);sf=tgz"
-O fairymax.tar.gz
tar zxvf fairymax.tar.gz
- mv Fairy-Max fairymax-$(VERSION)
- tar czf fairymax-$(VERSION).orig.tar.gz fairymax-$(VERSION)
- rm -rf fairymax-$(VERSION) fairymax.tar.gz
+ mv fairymax-$(major)$(minor_cap) fairymax-$(major)$(minor)
+ tar czf fairymax-$(major)$(minor).orig.tar.gz fairymax-$(major)$(minor)
+ rm -rf fairymax-$(major)$(minor) fairymax.tar.gz
--
Packaging for fairymax
_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits