[blockattack] 59/88: Strip the prebuilt PDF and binaries out (Closes: #616672)
Markus Koschany
apo-guest at moszumanska.debian.org
Wed Jan 6 11:53:29 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository blockattack.
commit f8907691fceb5f61df6045a33c78427cb3d24248
Author: Paul Wise <pabs at debian.org>
Date: Thu Mar 10 09:51:44 2011 +0000
Strip the prebuilt PDF and binaries out (Closes: #616672)
---
debian/changelog | 3 ++-
debian/rules | 18 ++++++++++++++++++
debian/watch | 2 +-
3 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 041f357..3022fb2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-blockattack (1.4.1-1) UNRELEASED; urgency=low
+blockattack (1.4.1+ds1-1) UNRELEASED; urgency=low
* Team upload.
* New upstream release
@@ -8,6 +8,7 @@ blockattack (1.4.1-1) UNRELEASED; urgency=low
* Clean up watch file
* Switch to dpkg-source v3
* Switch to debhelper 7 dh tiny rules
+ * Strip the prebuilt PDF and binaries out (Closes: #616672)
-- Paul Wise <pabs at debian.org> Thu, 10 Mar 2011 15:33:15 +0800
diff --git a/debian/rules b/debian/rules
index 1366144..e25842b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,3 +20,21 @@ override_dh_auto_install:
override_dh_installchangelogs:
dh_installchangelogs changelog*
+
+v=1.4.1
+p=blockattack
+sfp=$(p)/binaries+source/Block Attack $(v)
+
+get-orig-source:
+ wget -c "http://downloads.sourceforge.net/project/$(sfp)/$(p)-$(v).tar.gz"
+ tar zxf $(p)-$(v).tar.gz
+ # Pre-built binaries
+ rm $(p)-$(v)/Game/blockattack.i386
+ rm $(p)-$(v)/Game/blockattack.x86_64
+ rm $(p)-$(v)/Game/blockattack_nonet.i386
+ rm $(p)-$(v)/Game/blockattack_nonet.x86_64
+ # Pre-built PDF
+ rm $(p)-$(v)/block_attack_manual.pdf
+ mv $(p)-$(v) $(p)-$(v)+ds1.orig
+ tar zcf ../$(p)_$(v)+ds1.orig.tar.gz $(p)-$(v)+ds1.orig
+ rm -r $(p)-$(v).tar.gz $(p)-$(v)+ds1.orig
diff --git a/debian/watch b/debian/watch
index de77297..01ead1e 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
version=3
-http://sf.net/blockattack/blockattack-(.*)\.tar\.gz
+opts=dversionmangle=s/\+ds\d*// http://sf.net/blockattack/blockattack-([\d\.]+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/blockattack.git
More information about the Pkg-games-commits
mailing list