{ "homepage": "http://strawberryperl.com", "version": "5.32.0.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.32.0.1/strawberry-perl-5.32.0.1-32bit-portable.zip", "hash": "sha1:61b204137c6c4277b5155eb5cc0514e9e4674625" }, "64bit": { "url": "http://strawberryperl.com/download/5.32.0.1/strawberry-perl-5.32.0.1-64bit-portable.zip", "hash": "sha1:25cc36aa98e5ec6a5d507a2a7a6e39eb655795f3" } }, "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": { "url": "http://strawberryperl.com/releases.html", "regex": "strawberry-perl-([\\d.]+)-32bit-portable\\.zip" }, "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" } } }