r9759 - packages/trunk/primrose/debian
Paul Wise
pabs at alioth.debian.org
Sun May 17 07:55:28 UTC 2009
Author: pabs
Date: 2009-05-17 07:55:27 +0000 (Sun, 17 May 2009)
New Revision: 9759
Modified:
packages/trunk/primrose/debian/changelog
packages/trunk/primrose/debian/rules
Log:
Some improvements to the get-orig-source target
Modified: packages/trunk/primrose/debian/changelog
===================================================================
--- packages/trunk/primrose/debian/changelog 2009-05-16 04:07:21 UTC (rev 9758)
+++ packages/trunk/primrose/debian/changelog 2009-05-17 07:55:27 UTC (rev 9759)
@@ -1,6 +1,7 @@
primrose (5+dfsg1-2) UNRELEASED; urgency=low
* Fix default permissions in the settings patch
+ * Some improvements to the get-orig-source target
-- Paul Wise <pabs at debian.org> Mon, 20 Apr 2009 17:27:55 +0800
Modified: packages/trunk/primrose/debian/rules
===================================================================
--- packages/trunk/primrose/debian/rules 2009-05-16 04:07:21 UTC (rev 9758)
+++ packages/trunk/primrose/debian/rules 2009-05-17 07:55:27 UTC (rev 9759)
@@ -78,21 +78,23 @@
dh_md5sums
dh_builddeb
+VERSION=6
+
get-orig-source:
dh_testdir
dh_testroot
- wget http://downloads.sourceforge.net/primrose/Primrose_v5_UnixSource.tar.gz
- tar xvfz Primrose_v5_UnixSource.tar.gz
+ wget -c http://downloads.sourceforge.net/primrose/Primrose_v$(VERSION)_UnixSource.tar.gz
+ tar xvfz Primrose_v$(VERSION)_UnixSource.tar.gz
# The first is removed because we are repacking the tarball
# The rest are removed because they are non-free and not needed
- cd Primrose_v5_UnixSource && rm -rf \
+ cd Primrose_v$(VERSION)_UnixSource && rm -r \
tilePlacementGames/game1/build/win32/SDL.dll \
minorGems/util/development/fortify \
minorGems/graphics/openGL/texture.cpp \
minorGems/graphics/openGL/tga.*
- mv Primrose_v5_UnixSource primrose-5+dfsg1.orig
- tar cvfz ../primrose_5+dfsg1.orig.tar.gz primrose-5+dfsg1.orig
- rm -rf Primrose_v5_UnixSource.tar.gz primrose-5+dfsg1.orig
+ mv Primrose_v$(VERSION)_UnixSource primrose-$(VERSION)+dfsg1.orig
+ tar cvfz ../primrose_$(VERSION)+dfsg1.orig.tar.gz primrose-$(VERSION)+dfsg1.orig
+ rm -rf Primrose_v$(VERSION)_UnixSource.tar.gz primrose-$(VERSION)+dfsg1.orig
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure get-orig-source
More information about the Pkg-games-commits
mailing list