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