2022-02-23 20:28:52 +00:00

44 lines
1.6 KiB
JSON

{
"version": "1.0.9_1",
"description": "Lossless compression algorithm",
"homepage": "https://brotli.org/",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://curl.haxx.se/windows/dl-7.81.0_1/brotli-1.0.9_1-win64-mingw.tar.xz",
"hash": "c5833727526f9432c34862f4a10f4682b024eaf6f9f0dee6ece4e17b665bd214",
"extract_dir": "brotli-1.0.9-win64-mingw"
},
"32bit": {
"url": "https://curl.haxx.se/windows/dl-7.81.0_1/brotli-1.0.9_1-win32-mingw.tar.xz",
"hash": "7b76dbaa158baafc7a5926fa87f8266053b51e3fdeffee9e108283606145bb96",
"extract_dir": "brotli-1.0.9-win32-mingw"
}
},
"pre_install": "Copy-Item \"$dir\\bin\\brotli.exe\" \"$dir\\bin\\unbrotli.exe\"",
"bin": [
"bin\\brotli.exe",
"bin\\unbrotli.exe"
],
"checkver": {
"url": "https://curl.haxx.se/windows/",
"regex": "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",
"regex": "SHA256\\($basename\\)=\\s+$sha256"
}
}
}