[irrlicht] 01/02: update get-orig-source
Vincent Cheng
vcheng at moszumanska.debian.org
Thu Sep 10 19:27:20 UTC 2015
This is an automated email from the git hooks/post-receive script.
vcheng pushed a commit to branch master
in repository irrlicht.
commit 198b9c8710f5e70339ce6b89818ec0313c18ec20
Author: Vincent Cheng <vcheng at debian.org>
Date: Thu Sep 10 12:26:16 2015 -0700
update get-orig-source
---
debian/rules | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/debian/rules b/debian/rules
index 36d8d4b..80a866f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,10 +5,11 @@
export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+SOURCE_DATE := $(shell dpkg-parsechangelog --show-field=Date)
# shared library versions, option 1
-upstream_version=1.8.1
-version=1.8.1
+upstream_version=1.8.2
+version=1.8.2
major=1.8
repackv=1
@@ -60,12 +61,12 @@ override_dh_strip:
get-orig-source:
# Note: scripts/ directory seems to be missing from upstream zip, so download from:
- # https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/branches/releases/1.7/scripts/
+ # https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/branches/releases/1.8/scripts/
mkdir -p ../repack
uscan --force-download --destdir ../repack --download-current-version
( \
cd ../repack ;\
- unzip irrlicht-$(upstream_version).zip ;\
+ unzip -q irrlicht-$(upstream_version).zip ;\
cd irrlicht-$(upstream_version) ;\
rm -rf source/Irrlicht/jpeglib ;\
rm -rf source/Irrlicht/zlib ;\
@@ -80,11 +81,11 @@ get-orig-source:
rm -rf media ;\
rm -rf lib ;\
rm -rf doc/html ;\
- svn co https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/branches/releases/1.7/scripts/ scripts ;\
+ svn co https://svn.code.sf.net/p/irrlicht/code/branches/releases/1.8/scripts/ scripts ;\
find . -name .svn -exec rm -rf {} \; ;\
find . \( -name \*.exe -o -name \*.dll \) -exec rm -f {} \; ;\
cd .. ;\
- GZIP="--best" tar -czf irrlicht_$(upstream_version)+dfsg$(repackv).orig.tar.gz irrlicht-$(upstream_version) ;\
+ GZIP="--best" tar --mtime="$(SOURCE_DATE)" -czf irrlicht_$(upstream_version)+dfsg$(repackv).orig.tar.gz irrlicht-$(upstream_version) ;\
mv irrlicht_$(upstream_version)+dfsg$(repackv).orig.tar.gz .. ;\
)
rm -rf ../repack
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/irrlicht.git
More information about the Pkg-games-commits
mailing list