summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/kvirc
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/applications/kvirc')
-rwxr-xr-xubuntu/maverick/applications/kvirc/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kvirc/debian/source/options4
2 files changed, 5 insertions, 2 deletions
diff --git a/ubuntu/maverick/applications/kvirc/debian/rules b/ubuntu/maverick/applications/kvirc/debian/rules
index 665c61d25..fd45d5925 100755
--- a/ubuntu/maverick/applications/kvirc/debian/rules
+++ b/ubuntu/maverick/applications/kvirc/debian/rules
@@ -49,6 +49,9 @@ endif
#
DEB_COMPRESS_EXCLUDE := .kvs
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
#
# Run dh_shlibdeps with the correct options
#
diff --git a/ubuntu/maverick/applications/kvirc/debian/source/options b/ubuntu/maverick/applications/kvirc/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kvirc/debian/source/options
+++ b/ubuntu/maverick/applications/kvirc/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