William McGann 1c75bede85 [WIP] checkver fixup (#862)
* Updating go to 1.6.2

* Updating packer to 0.10.1

* Fixing regex for checkver.
2016-05-24 12:55:23 +10:00

24 lines
1.2 KiB
JSON

{
"homepage": "http://strawberryperl.com",
"version": "5.22.1.2",
"license": "GPL",
"architecture": {
"32bit": {
"url": "http://strawberryperl.com/download/5.22.1.2/strawberry-perl-5.22.1.2-32bit-portable.zip",
"hash": "e6bb5c3e4d936bb1067560a58a21260693a0fbe34e55afb0111fe14f7eebc92c"
},
"64bit": {
"url": "http://strawberryperl.com/download/5.22.1.2/strawberry-perl-5.22.1.2-64bit-portable.zip",
"hash": "79beabb4dbc7b04e0bb0506832df91fc5a4732ce1cc16c4a39a7492fe81be75a"
}
},
"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-[0-9\\.]+-64bit.msi"
}