From 9330288186a6c17ffee9b90d628c7d2ae25ec5a1 Mon Sep 17 00:00:00 2001 From: Coelacanthus Date: Sun, 24 Oct 2021 17:44:53 +0800 Subject: refactor(makepkg): enable zstd parallel compression and using max compression The decompression time of zstd increases slowly with the compression ratio, so it is beneficial for users to enable the highest compression ratio. (as Fedora does) Signed-off-by: Coelacanthus --- makepkg.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'makepkg.conf') diff --git a/makepkg.conf b/makepkg.conf index a059782..5f886c5 100644 --- a/makepkg.conf +++ b/makepkg.conf @@ -136,7 +136,7 @@ DBGSRCDIR="/usr/src/debug" COMPRESSGZ=(gzip -c -f -n) COMPRESSBZ2=(bzip2 -c -f) COMPRESSXZ=(xz -c -z -) -COMPRESSZST=(zstd -c -z -q -) +COMPRESSZST=(zstd -c -z -q --ultra -22 --threads=0 -) COMPRESSLRZ=(lrzip -q) COMPRESSLZO=(lzop -q) COMPRESSZ=(compress -c -f) @@ -148,7 +148,7 @@ COMPRESSLZ=(lzip -c -f) ######################################################################### # PKGEXT='.pkg.tar.zst' -SRCEXT='.src.tar.gz' +SRCEXT='.src.tar.zst' ######################################################################### # OTHER -- cgit v1.3.1