ScoopInstaller_Main/brotli.json
2019-03-29 21:01:58 +00:00

43 lines
1.6 KiB
JSON

{
"version": "1.0.7",
"homepage": "https://brotli.org/",
"description": "Lossless compression algorithm",
"architecture": {
"64bit": {
"url": "https://curl.haxx.se/windows/dl-7.64.1/brotli-1.0.7-win64-mingw.tar.xz",
"hash": "f78e7f797429a393568df335366052e1b1fa61ac0d3a7d4e3a5398a517659ab0",
"extract_dir": "brotli-1.0.7-win64-mingw"
},
"32bit": {
"url": "https://curl.haxx.se/windows/dl-7.64.1/brotli-1.0.7-win32-mingw.tar.xz",
"hash": "acdca43cd1f135a9db182a7d90e576320c17823951bc41ab29935ce05c85372c",
"extract_dir": "brotli-1.0.7-win32-mingw"
}
},
"bin": [
"bin\\brotli.exe",
"bin\\unbrotli.exe"
],
"pre_install": "Copy-Item \"$dir\\bin\\brotli.exe\" \"$dir\\bin\\unbrotli.exe\"",
"checkver": {
"url": "https://curl.haxx.se/windows/",
"re": "dl-(?<curl>[\\d._]+)/brotli-(?<version>[\\d._]+)-win64-mingw"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://curl.haxx.se/windows/dl-$matchCurl/brotli-$version-win64-mingw.tar.xz",
"extract_dir": "brotli-$matchHead-win64-mingw"
},
"32bit": {
"url": "https://curl.haxx.se/windows/dl-$matchCurl/brotli-$version-win32-mingw.tar.xz",
"extract_dir": "brotli-$matchHead-win32-mingw"
}
},
"hash": {
"url": "$baseurl/hashes.txt",
"find": "SHA256\\($basename\\)=\\s+([a-fA-F\\d]{64})"
}
}
}