{ "homepage": "http://strawberryperl.com", "version": "5.30.1.1", "license": "GPL-1.0-or-later|Artistic-1.0-Perl", "description": "A programming language suitable for writing simple scripts as well as complex applications.", "architecture": { "32bit": { "url": "http://strawberryperl.com/download/5.30.1.1/strawberry-perl-5.30.1.1-32bit-portable.zip", "hash": "sha1:601116a14f88e716eb86940961b23518c589d7b1" }, "64bit": { "url": "http://strawberryperl.com/download/5.30.1.1/strawberry-perl-5.30.1.1-64bit-portable.zip", "hash": "sha1:906bd55f35b4b51c60496479bd45212a91666a7b" } }, "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": "Strawberry Perl ([\\d.]+)", "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" } }, "hash": { "url": "http://strawberryperl.com/releases.html", "find": "(?sm)$basename\" onclick.*?Portable edition.*?$sha1" } } }