abuild: unpack .tar.zst

This commit is contained in:
psykose 2022-07-28 00:19:09 +00:00 committed by Natanael Copa
parent 16febc41a2
commit 97509ac620
1 changed files with 3 additions and 0 deletions

View File

@ -535,6 +535,9 @@ default_unpack() {
threads_opt="--threads=0"
fi
unxz $threads_opt -c "$s" | tar -C "$srcdir" -x || return 1;;
*.tar.zst)
msg "Unpacking $s..."
tar -C "$srcdir" --zstd -xf "$s" || return 1;;
*.zip)
msg "Unpacking $s..."
unzip -n -q "$s" -d "$srcdir" || return 1;;