diff --git a/kiss b/kiss index 05d74bd..9ca7005 100755 --- a/kiss +++ b/kiss @@ -138,11 +138,12 @@ run_hook() { decompress() { case $1 in - *.bz2) bzip2 -d ;; - *.xz) xz -dcT 0 ;; - *.tgz|*.gz) gzip -d ;; - *.zst) zstd -dc ;; - *.tar) cat ;; + *.bz2) bzip2 -d ;; + *.xz) xz -dcT 0 ;; + *.tgz|*.gz) gzip -d ;; + *.zst) zstd -dc ;; + *.lzma|*.lz) lzma -dc ;; + *.tar) cat ;; esac < "$1" } @@ -600,10 +601,11 @@ pkg_tar() ( # Create a tarball from the contents of the built package. "$tar" cf - . | case ${KISS_COMPRESS:=gz} in - bz2) bzip2 -z ;; - gz) gzip -6 ;; - xz) xz -zT 0 ;; - zst) zstd -z ;; + bz2) bzip2 -z ;; + gz) gzip -6 ;; + xz) xz -zT 0 ;; + zst) zstd -z ;; + lzma) lzma -z ;; esac > "$bin_dir/$1#$version-$release.tar.${KISS_COMPRESS:=gz}" log "$1" "Successfully created tarball" diff --git a/kiss.1 b/kiss.1 index 161660d..a743dee 100644 --- a/kiss.1 +++ b/kiss.1 @@ -101,7 +101,7 @@ export KISS_KEEPLOG=0 # Compression method to use for package tarballs. # -# Valid options: 'bz2', 'gz' (default), 'xz', 'zst' +# Valid options: 'bz2', 'gz' (default), 'lzma', 'xz', 'zst' export KISS_COMPRESS=gz # Keep build, package and extraction cache directories for debugging