On 7/10/20 2:38 PM, Jan Alexander Steffens (heftig) via arch-dev-public
wrote:
> From: "Jan Alexander Steffens (heftig)" <hef...@archlinux.org>
> 
> Most people create packages from the AUR for local installation. This
> allows these packages to be created more quickly.

This doesn't switch to .zst (we already set this to .zst), only COMPRESSZST.

Anyway people creating packages from the AUR for local installation
should use PKGEXT=.pkg.tar to disable compression, as this is instant,
pacman -U can install it faster because it doesn't need to decompress,
and it doesn't take up more disk space if the user will rm the package
after installing anyway...

> ---
>  PKGBUILD     | 2 +-
>  makepkg.conf | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/PKGBUILD b/PKGBUILD
> index 8566270..846a970 100644
> --- a/PKGBUILD
> +++ b/PKGBUILD
> @@ -27,7 +27,7 @@ 
> source=(https://sources.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz{,.sig
>  
> sha256sums=('bb201a9f2fb53c28d011f661d50028efce6eef2c1d2a36728bdd0130189349a0'
>              'SKIP'
>              
> '3353f363088c73f1f86a890547c0f87c7473e5caf43bbbc768c2e9a7397f2aa2'
> -            
> '9c769f13c09a6f24c393a9762474eded2f269d8966e7764d9160d62232a7919b')
> +            
> 'd113252f97f019a13541237a4f4c7fbe9ffd0c3e71ecd7cd8d5d227b378819ab')
>  
>  
>  build() {
> diff --git a/makepkg.conf b/makepkg.conf
> index d8bf59e..a277503 100644
> --- a/makepkg.conf
> +++ b/makepkg.conf
> @@ -132,7 +132,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 -T0 -)
>  COMPRESSLRZ=(lrzip -q)
>  COMPRESSLZO=(lzop -q)
>  COMPRESSZ=(compress -c -f)
> 


-- 
Eli Schwartz
Bug Wrangler and Trusted User

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to