archrelease: copy trunk to community-any
[arch-community.git] / pkgdiff / trunk / zstd.diff
blobdcb6e59347f6898a9077fba575eaef262ee79450
1 Common subdirectories: pkgdiff-1.7.2/doc and pkgdiff-1.7.2-zst/doc
2 Common subdirectories: pkgdiff-1.7.2/modules and pkgdiff-1.7.2-zst/modules
3 diff -u pkgdiff-1.7.2/pkgdiff.pl pkgdiff-1.7.2-zst/pkgdiff.pl
4 --- pkgdiff-1.7.2/pkgdiff.pl 2016-03-18 12:29:58.000000000 +0000
5 +++ pkgdiff-1.7.2-zst/pkgdiff.pl 2020-01-09 23:03:16.270580393 +0000
6 @@ -461,11 +461,14 @@
8 "TAR.LZ" => ["tar.lz", "tlz"],
10 + "TAR.ZST" => ["tar.zst", "tzst"],
12 "ZIP" => ["zip", "zae"],
13 "TAR" => ["tar"],
14 "LZMA" => ["lzma"],
15 "GZ" => ["gz"],
16 "XZ" => ["xz"],
17 + "ZST" => ["zst"],
19 "JAR" => ["jar", "war",
20 "ear"]
21 @@ -2903,6 +2906,9 @@
22 elsif($Format eq "XZ") {
23 $Cmd = "cp -f \"$Pkg\" \"$OutDir\" && cd \"$OutDir\" && unxz \"".get_filename($Pkg)."\"";
25 + elsif($Format eq "ZST") {
26 + $Cmd = "cp -f \"$Pkg\" \"$OutDir\" && cd \"$OutDir\" && unzstd --rm \"".get_filename($Pkg)."\"";
27 + }
28 elsif($Format eq "ZIP") {
29 $Cmd = "unzip -o \"$Pkg\" -d \"$OutDir\"";