0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 05:33:03 -05:00

add pigz; use -6 instead of --fast for gz compression

This commit is contained in:
ohfp 2024-11-29 13:42:13 +01:00
parent dfdcbbf655
commit c36580c203

View file

@ -135,9 +135,11 @@ $(lw_source_dir) : $(ff_source_tarball) ./version ./release scripts/librewolf-pa
python3 scripts/librewolf-patches.py $(version) $(release)
$(lw_source_tarball) : $(lw_source_dir)
(sudo apt-get -y install pigz; true)
(sudo rpm -y install pigz; true)
rm -f $(lw_source_tarball)
tar cf librewolf-$(version)-$(release).source.tar $(lw_source_dir)
gzip --fast librewolf-$(version)-$(release).source.tar
pigz -6 librewolf-$(version)-$(release).source.tar
touch $(lw_source_dir)
sha256sum $(lw_source_tarball) > $(lw_source_tarball).sha256sum
cat $(lw_source_tarball).sha256sum