summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg/source/file.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/libmakepkg/source/file.sh.in')
-rw-r--r--scripts/libmakepkg/source/file.sh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/libmakepkg/source/file.sh.in b/scripts/libmakepkg/source/file.sh.in
index b29aeb04..cbaab315 100644
--- a/scripts/libmakepkg/source/file.sh.in
+++ b/scripts/libmakepkg/source/file.sh.in
@@ -118,6 +118,11 @@ extract_file() {
xz) cmd="xz" ;;
*) return;;
esac ;;
+ *application/zstd*)
+ case "$ext" in
+ zst) cmd="zstd" ;;
+ *) return;;
+ esac ;;
*)
# See if bsdtar can recognize the file
if bsdtar -tf "$file" -q '*' &>/dev/null; then