diff options
author | Chloe Kudryavtsev <toast@toastin.space> | 2019-01-29 06:54:21 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-01-30 01:06:55 +0100 |
commit | 776fbe1cde58739d0469d3efbc76cb13b80f18b3 (patch) | |
tree | 8960e83175404a149214078ce57d63bf77b695df /scripts/libmakepkg/util | |
parent | 5bd54fa0c672d89fedc7995025cf8ea4b5e5e96b (diff) | |
download | pacman-776fbe1cde58739d0469d3efbc76cb13b80f18b3.tar.gz pacman-776fbe1cde58739d0469d3efbc76cb13b80f18b3.tar.xz |
libmakepkg: Add lzip ext support
lzip is a lossless data compressor designed to replace gzip and bzip2 as
the standard general-purpose compressed format.
- add .lz (lzip) support to libmakepkg/util/compress.sh:compress_as
- add COMPRESSLZ to makepkg.conf.in
- document COMPRESSLZ
- document PKGEXT with `.tar.lz`
Signed-off-by: Chloe Kudryavtsev <toast@toastin.space>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/util')
-rw-r--r-- | scripts/libmakepkg/util/compress.sh.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/libmakepkg/util/compress.sh.in b/scripts/libmakepkg/util/compress.sh.in index 3a43e8b5..3d4d88fd 100644 --- a/scripts/libmakepkg/util/compress.sh.in +++ b/scripts/libmakepkg/util/compress.sh.in @@ -42,6 +42,7 @@ compress_as() { *tar.lzo) ${COMPRESSLZO[@]:-lzop -q} ;; *tar.Z) ${COMPRESSZ[@]:-compress -c -f} ;; *tar.lz4) ${COMPRESSLZ4[@]:-lz4 -q} ;; + *tar.lz) ${COMPRESSLZ[@]:-lzip -c -f} ;; *tar) cat ;; *) warning "$(gettext "'%s' is not a valid archive extension.")" \ "$ext"; cat ;; |