From 420e39cfda4eac5df431c46f54ae97cf0d7a9186 Mon Sep 17 00:00:00 2001 From: HUMORCE Date: Sat, 17 May 2025 12:56:48 +0000 Subject: [PATCH] perl: Update to version 5.40.2.1 (Close #6816) - Update checkver and autoupdate --- bucket/perl.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bucket/perl.json b/bucket/perl.json index 9c055dfe50..1a74a7131f 100644 --- a/bucket/perl.json +++ b/bucket/perl.json @@ -1,12 +1,12 @@ { - "version": "5.34.3.1", + "version": "5.40.2.1", "description": "A programming language suitable for writing simple scripts as well as complex applications.", "homepage": "https://strawberryperl.com", "license": "GPL-1.0-or-later|Artistic-1.0-Perl", "architecture": { "64bit": { - "url": "https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/sp5.34.3.1/strawberry-perl-5.34.3.1-64bit-portable.zip", - "hash": "94d312ed536bb5bec8d4d8a069c19cf5f275364b94bb4dd93da1c1aa5ef7652a" + "url": "https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_54021_64bit_UCRT/strawberry-perl-5.40.2.1-64bit-portable.zip", + "hash": "7707700d5ad027773b775134fe48cd9610abf221433fcfb68c8eb0ec9c6fde8c" } }, "post_install": [ @@ -20,8 +20,8 @@ "perl\\bin" ], "checkver": { - "url": "https://strawberryperl.com/releases.json", - "regex": "releases/download/(?.+)/strawberry-perl-([\\d.]+)-64bit-portable\\.zip" + "url": "https://api.github.com/repositories/23202375/releases/latest", + "regex": "releases/download/(?\\w+)/strawberry-perl-([\\d.]+)-64bit-portable\\.zip\"" }, "autoupdate": { "architecture": { @@ -29,7 +29,7 @@ "url": "https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/$matchTag/strawberry-perl-$version-64bit-portable.zip", "hash": { "url": "https://strawberryperl.com/releases.json", - "jsonpath": "$..[0].edition.portable.sha256" + "jsonpath": "$[?(@.version == '$version')].edition.portable.sha256" } } }