Jakub Čábera 6d6d102291 aws: Update to version 2.1.17
format p*
2021-01-08 07:41:21 +01:00

46 lines
1.9 KiB
JSON

{
"version": "5.32.0.1",
"description": "A programming language suitable for writing simple scripts as well as complex applications.",
"homepage": "http://strawberryperl.com",
"license": "GPL-1.0-or-later|Artistic-1.0-Perl",
"architecture": {
"64bit": {
"url": "http://strawberryperl.com/download/5.32.0.1/strawberry-perl-5.32.0.1-64bit-portable.zip",
"hash": "sha1:25cc36aa98e5ec6a5d507a2a7a6e39eb655795f3"
},
"32bit": {
"url": "http://strawberryperl.com/download/5.32.0.1/strawberry-perl-5.32.0.1-32bit-portable.zip",
"hash": "sha1:61b204137c6c4277b5155eb5cc0514e9e4674625"
}
},
"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",
"c\\bin"
],
"checkver": {
"url": "http://strawberryperl.com/releases.html",
"regex": "strawberry-perl-([\\d.]+)-32bit-portable\\.zip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "http://strawberryperl.com/download/$version/strawberry-perl-$version-64bit-portable.zip"
},
"32bit": {
"url": "http://strawberryperl.com/download/$version/strawberry-perl-$version-32bit-portable.zip"
}
},
"hash": {
"url": "http://strawberryperl.com/releases.html",
"regex": "(?sm)$basename\" onclick.*?Portable edition.*?$sha1"
}
}
}