mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-08 17:51:21 +00:00
38 lines
1.6 KiB
JSON
38 lines
1.6 KiB
JSON
{
|
|
"homepage": "http://strawberryperl.com",
|
|
"version": "5.26.1.1",
|
|
"license": "GPL",
|
|
"architecture": {
|
|
"32bit": {
|
|
"url": "http://strawberryperl.com/download/5.26.1.1/strawberry-perl-5.26.1.1-32bit-portable.zip",
|
|
"hash": "9852d57e0d6b4509accb4f9faf862327a79c18b630aac4f35c65ce7a270a9230"
|
|
},
|
|
"64bit": {
|
|
"url": "http://strawberryperl.com/download/5.26.1.1/strawberry-perl-5.26.1.1-64bit-portable.zip",
|
|
"hash": "1bb54d7f5e487ff468bf980dbfd9962fb9d83ff1f10ccde008e0bee1f1f5b6ce"
|
|
}
|
|
},
|
|
"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
|
|
[byte[]][char[]]((Get-Content -raw \"$dir\\portable.perl\") -replace \"(?ms)^HomeDir:.*?^(?=\\S)\",\"\") | Set-Content \"$dir\\portable.perl\" -encoding byte
|
|
",
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|