mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-03 07:11:21 +00:00
38 lines
1.6 KiB
JSON
38 lines
1.6 KiB
JSON
{
|
|
"homepage": "http://strawberryperl.com",
|
|
"version": "5.28.0.1",
|
|
"license": "Artistic-1.0-Perl|GPL-1.0-only",
|
|
"architecture": {
|
|
"32bit": {
|
|
"url": "http://strawberryperl.com/download/5.28.0.1/strawberry-perl-5.28.0.1-32bit-portable.zip",
|
|
"hash": "1330f05d4bbe067aeff0e380d4a14a792083122dca766699876de88bc6d63838"
|
|
},
|
|
"64bit": {
|
|
"url": "http://strawberryperl.com/download/5.28.0.1/strawberry-perl-5.28.0.1-64bit-portable.zip",
|
|
"hash": "dcdc5f4d54e6def73a472bbd4820aa7a22d336f6004fc35e180818f3d388c7e1"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|