forked from kiss-community/kiss
kiss: Added lzma support to sources and tarballs
This commit is contained in:
parent
6415605174
commit
931b2e13f3
2
kiss
2
kiss
@ -142,6 +142,7 @@ decompress() {
|
||||
*.xz) xz -dcT 0 ;;
|
||||
*.tgz|*.gz) gzip -d ;;
|
||||
*.zst) zstd -dc ;;
|
||||
*.lzma|*.lz) lzma -dc ;;
|
||||
*.tar) cat ;;
|
||||
esac < "$1"
|
||||
}
|
||||
@ -604,6 +605,7 @@ pkg_tar() (
|
||||
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"
|
||||
|
2
kiss.1
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user