summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg/util
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2017-10-30 19:15:18 +0100
committerAllan McRae <allan@archlinux.org>2018-09-19 10:15:29 +0200
commitbae74c8e9e69b4f4e1a235eef21b9b27fb14aff0 (patch)
tree447e35d121b9bf3370d364013c71b7532fd5f24c /scripts/libmakepkg/util
parentcd7b2d6e07bdbc11f8973bedef0cb0ef02f81563 (diff)
downloadpacman-bae74c8e9e69b4f4e1a235eef21b9b27fb14aff0.tar.gz
pacman-bae74c8e9e69b4f4e1a235eef21b9b27fb14aff0.tar.xz
makepkg: add support for the zst format
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/util')
-rw-r--r--scripts/libmakepkg/util/compress.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/libmakepkg/util/compress.sh.in b/scripts/libmakepkg/util/compress.sh.in
index 4d8cd46a..3a43e8b5 100644
--- a/scripts/libmakepkg/util/compress.sh.in
+++ b/scripts/libmakepkg/util/compress.sh.in
@@ -37,6 +37,7 @@ compress_as() {
*tar.gz) ${COMPRESSGZ[@]:-gzip -c -f -n} ;;
*tar.bz2) ${COMPRESSBZ2[@]:-bzip2 -c -f} ;;
*tar.xz) ${COMPRESSXZ[@]:-xz -c -z -} ;;
+ *tar.zst) ${COMPRESSZST[@]:-zstd -c -z -q -} ;;
*tar.lrz) ${COMPRESSLRZ[@]:-lrzip -q} ;;
*tar.lzo) ${COMPRESSLZO[@]:-lzop -q} ;;
*tar.Z) ${COMPRESSZ[@]:-compress -c -f} ;;