2019-05-04 14:00:44 +00:00

38 lines
1.6 KiB
JSON

{
"homepage": "http://strawberryperl.com",
"version": "5.28.2.1",
"license": "Artistic-1.0-Perl|GPL-1.0-only",
"architecture": {
"32bit": {
"url": "http://strawberryperl.com/download/5.28.2.1/strawberry-perl-5.28.2.1-32bit-portable.zip",
"hash": "896cb83240720fc61b960115b549a55567a14d97dc3427793ee9140bc7ba6613"
},
"64bit": {
"url": "http://strawberryperl.com/download/5.28.2.1/strawberry-perl-5.28.2.1-64bit-portable.zip",
"hash": "9f2188e4af1b13111ac1185ba88b535d4b8f77fa5b8dbb5b9910666a475375e9"
}
},
"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": "Recommended version:</b></p>\\s*<a href=\"\\/download\\/([^\\/]+)\\/strawberry-perl-[\\d.]+-64bit.msi",
"autoupdate": {
"architecture": {
"32bit": {
"url": "http://strawberryperl.com/download/$version/strawberry-perl-$version-32bit-portable.zip"
},
"64bit": {
"url": "http://strawberryperl.com/download/$version/strawberry-perl-$version-64bit-portable.zip"
}
}
}
}