summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/tdegames
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/tdegames')
-rwxr-xr-xubuntu/maverick/tdegames/debian/rules3
-rw-r--r--ubuntu/maverick/tdegames/debian/source/options4
2 files changed, 5 insertions, 2 deletions
diff --git a/ubuntu/maverick/tdegames/debian/rules b/ubuntu/maverick/tdegames/debian/rules
index a979e0440..085eb8404 100755
--- a/ubuntu/maverick/tdegames/debian/rules
+++ b/ubuntu/maverick/tdegames/debian/rules
@@ -26,6 +26,9 @@ DEB_INSTALL_CHANGELOGS_ALL = $(shell for f in ChangeLog CHANGELOG CHANGES; do if
DEB_INSTALL_CHANGELOGS_tdegames := $(DEB_SRCDIR)/ChangeLog
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
DEB_DH_MAKESHLIBS_ARGS_libtdegames1-trinity := -V'libtdegames1-trinity'
DEB_DH_MAKESHLIBS_ARGS_atlantik-trinity := -V
DEB_DH_MAKESHLIBS_ARGS_kolf-trinity := -V
diff --git a/ubuntu/maverick/tdegames/debian/source/options b/ubuntu/maverick/tdegames/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/tdegames/debian/source/options
+++ b/ubuntu/maverick/tdegames/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences