forked from kiss-community/kiss
kiss: zstd support
This commit is contained in:
parent
c570d24086
commit
d01ffde93c
@ -33,7 +33,7 @@ while read -r file; do
|
|||||||
musl|gcc|$1) ;;
|
musl|gcc|$1) ;;
|
||||||
*) printf '%s\n' "$pkg" ;;
|
*) printf '%s\n' "$pkg" ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
done < "$db_dir/$1/manifest" | sort -u
|
done < "$db_dir/$1/manifest" | sort -u
|
||||||
|
|
||||||
printf '\n=> Package dependencies:\n'
|
printf '\n=> Package dependencies:\n'
|
||||||
|
2
kiss
2
kiss
@ -93,6 +93,7 @@ decompress() {
|
|||||||
*.bz2) bzip2 -d ;;
|
*.bz2) bzip2 -d ;;
|
||||||
*.xz) xz -dcT 0 ;;
|
*.xz) xz -dcT 0 ;;
|
||||||
*.tgz|*.gz) gzip -d ;;
|
*.tgz|*.gz) gzip -d ;;
|
||||||
|
*.zst) zstd -dc ;;
|
||||||
esac < "$1"
|
esac < "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -505,6 +506,7 @@ pkg_tar() {
|
|||||||
bz2) bzip2 -z ;;
|
bz2) bzip2 -z ;;
|
||||||
xz) xz -zT 0 ;;
|
xz) xz -zT 0 ;;
|
||||||
gz) gzip -6 ;;
|
gz) gzip -6 ;;
|
||||||
|
zst) zstd -z ;;
|
||||||
esac \
|
esac \
|
||||||
> "$bin_dir/$1#$version-$release.tar.${KISS_COMPRESS:=gz}"
|
> "$bin_dir/$1#$version-$release.tar.${KISS_COMPRESS:=gz}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user