[marsshooter] 14/28: Update get-orig-source and fetch the Github releases from
Markus Koschany
apo-guest at moszumanska.debian.org
Sun Jan 10 16:43:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository marsshooter.
commit 586e15fdb801ccb37fd8146d730186b022cd5135
Author: Markus Koschany <apo at debian.org>
Date: Sun Jan 10 15:55:54 2016 +0100
Update get-orig-source and fetch the Github releases from
Hans de Goede's fork.
---
debian/rules | 32 ++------------------------------
1 file changed, 2 insertions(+), 30 deletions(-)
diff --git a/debian/rules b/debian/rules
index 92ea5e4..677f222 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,6 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-#export DEB_BUILD_OPTIONS=nostrip noopt
-PKD := $(abspath $(dir $(MAKEFILE_LIST)))
-VER := $(shell dpkg-parsechangelog -l$(PKD)/changelog -SVersion | cut -d- -f1)
-PKG := marsshooter
-UURL := https://github.com/jwrdegoede/M.A.R.S..git
-COMMIT := 4fb920e97d350a8777e06ce28c1657ad3a3fa3fb
-
%:
dh $@ --parallel
@@ -15,26 +8,5 @@ COMMIT := 4fb920e97d350a8777e06ce28c1657ad3a3fa3fb
override_dh_auto_build-indep:
convert -monitor -resize 32x32 resources/marsshooter.xpm marsshooter.xpm
-.PHONY: get-orig-source
-## http://wiki.debian.org/onlyjob/get-orig-source
-get-orig-source: $(PKG)_$(VER).orig.tar.xz
- @
-
-$(PKG)_$(VER).orig.tar.xz:
- @echo "# Cloning upstream git repository..."
- git clone $(UURL) $(PKG)-$(VER)
- cd $(PKG)-$(VER) \
- && git checkout -b debiansource $(COMMIT) \
- && echo "# Setting times..." \
- && for F in $$(git ls-tree -r --name-only HEAD); \
- do touch --no-dereference -d "$$(git log -1 --format="%ai" -- $$F)" "$$F"; done \
- && echo "# Cleaning-up..." \
- && $(RM) -r -v \
- data/fonts/* \
- ext_libs_for_windows \
- .git/ \
- && touch data/fonts/.dont_delete_me
- @echo "# Packing..."
- find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \
- | XZ_OPT="-6v" tar -caf "$(PKG)_$(VER).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \
- && $(RM) -r "$(PKG)-$(VER)"
+get-orig-source:
+ uscan --download-current-version --force-download
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/marsshooter.git
More information about the Pkg-games-commits
mailing list