[SCM] Packaging for original LIERO binary data branch, master, updated. upstream/1.33-44-g72fad05

Martin Erik Werner martinerikwerner at gmail.com
Fri Mar 30 19:57:57 UTC 2012


The following commit has been merged in the master branch:
commit 0b24f55e1f912ea0813b9bf5a5498ad157d54109
Author: Martin Erik Werner <martinerikwerner at gmail.com>
Date:   Sat Mar 17 23:40:24 2012 +0100

    Use xz compression, add repack comment, new version

diff --git a/debian/changelog b/debian/changelog
index d716421..8597153 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+liero-data (1.33+ds2-1) UNRELEASED; urgency=low
+
+  * Use xz compression for source
+
+ -- Martin Erik Werner <martinerikwerner at gmail.com>  Sat, 17 Mar 2012 23:42:42 +0100
+
 liero-data (1.33+ds1-1) unstable; urgency=low
 
   * Initial release (Closes: #648683)
diff --git a/debian/rules b/debian/rules
index 235d1e5..2ddf2b1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ UVER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p')
 DUVER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
 DIR=liero-data_$(DUVER).orig
 USCAN_TAR=liero-data_$(UVER).orig.tar.gz
-TAR=liero-data_$(DUVER).orig.tar.bz2
+TAR=liero-data_$(DUVER).orig.tar.xz
 get-orig-source:
 	rm -rf $(USCAN_TAR)
 	rm -rf $(DIR)
@@ -22,9 +22,10 @@ get-orig-source:
 	# Since upstream source has a weird name, let uscan do rename first
 	# unfortuantely this results in repacking twice.
 	uscan --noconf --force-download --repack --rename \
-				--download-current-version --destdir=$(DIR)
+		--download-current-version --destdir=$(DIR)
 	tar -xf $(DIR)/$(USCAN_TAR) -C $(DIR)
 	rm -f $(DIR)/$(USCAN_TAR)
+	# Extract sound & gfx sources and add scripts to repack
 	mkdir $(DIR)/sounds
 	mkdir $(DIR)/gfx
 	cp debian/scripts/extractsounds debian/scripts/packsounds $(DIR)/sounds
@@ -33,6 +34,6 @@ get-orig-source:
 	cd $(DIR)/gfx && ./extractgfx ../LIERO.CHR
 	rm $(DIR)/LIERO.SND
 	rm $(DIR)/LIERO.CHR
-	BZIP2="-9" tar -cj --owner root --group root --mode a+rX \
-							-f $(TAR) $(DIR)
+	XZ_OPT="-6" tar -cJ --owner root --group root --mode a+rX \
+		-f $(TAR) $(DIR)
 	rm -rf $(DIR)

-- 
Packaging for original LIERO binary data



More information about the Pkg-games-commits mailing list