mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 14:51:18 +00:00
38 lines
1.7 KiB
JSON
38 lines
1.7 KiB
JSON
{
|
|
"version": "5.38.2.2",
|
|
"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/SP_53822_64bit/strawberry-perl-5.38.2.2-64bit-portable.zip",
|
|
"hash": "ea451686065d6338d7e4d4a04c9af49f17951d15aa4c2e19ab8cb56fa2373440"
|
|
}
|
|
},
|
|
"post_install": [
|
|
"# enable standard idiomatic access to user's home directory",
|
|
"## remove HomeDir section from portable.perl (disables Portable.pm override of File::HomeDir)",
|
|
"## NOTE: conversion to byte[] avoids adding an extra trailing newline to the output file",
|
|
"[System.IO.File]::WriteAllBytes(\"$dir\\portable.perl\", ([byte[]][char[]]((Get-Content -Raw \"$dir\\portable.perl\") -replace \"(?ms)^HomeDir:.*?^(?=\\S)\",\"\")))"
|
|
],
|
|
"env_add_path": [
|
|
"perl\\site\\bin",
|
|
"perl\\bin"
|
|
],
|
|
"checkver": {
|
|
"url": "https://strawberryperl.com/releases.html",
|
|
"regex": "https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/(?<tag>[^/]+)/strawberry-perl-([\\d.]+)-64bit-portable\\.zip"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/$matchTag/strawberry-perl-$version-64bit-portable.zip",
|
|
"hash": {
|
|
"url": "https://strawberryperl.com/releases.html",
|
|
"find": "(?sm)$url\" onclick=\".*?Portable edition.*?$sha256"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|