{ "homepage": "https://www.apachelounge.com", "version": "2.4.27", "license": "Apache 2.0", "architecture": { "64bit": { "url": "https://www.apachelounge.com/download/VC15/binaries/httpd-2.4.27-Win64-VC15.zip", "hash": "6d827bf08bc73c45f2471794b75d7a70907a5274a4515285e5b62774331539fc" }, "32bit": { "url": "https://www.apachelounge.com/download/VC15/binaries/httpd-2.4.27-Win32-VC15.zip", "hash": "7ba98a25964b27bca693699f9b563b6de1c7b79525f76befcbec327331b8c6b7" } }, "extract_dir": "Apache24", "persist": [ "htdocs", "conf" ], "bin": [ "bin\\ab.exe", "bin\\abs.exe", "bin\\htcacheclean.exe", "bin\\htdbm.exe", "bin\\htdigest.exe", "bin\\htpasswd.exe", "bin\\httpd.exe", "bin\\httxt2dbm.exe", "bin\\logresolve.exe", "bin\\rotatelogs.exe" ], "post_install": " # set directory in httpd.conf $conf = \"$dir/conf/httpd.conf\" $root=(scoop which httpd | split-path -res -par | split-path -par) -replace '\\\\', '/'; (gc $conf) | % { $_ -replace 'c:/Apache24', \"$root\" } | sc $conf ", "checkver": { "url": "https://www.apachelounge.com/download/", "re": "Apache ([\\d.]+) Win32" }, "autoupdate": { "architecture": { "64bit": { "url": "https://www.apachelounge.com/download/VC15/binaries/httpd-$version-win64-VC15.zip" }, "32bit": { "url": "https://www.apachelounge.com/download/VC15/binaries/httpd-$version-win32-VC15.zip" } }, "hash": { "url": "$url.txt", "find": "SHA256-Checksum for: (?:$basename):\\s+([a-fA-F0-9]{64})" } } }