2020-12-02 21:01:48 +00:00

44 lines
1.6 KiB
JSON

{
"version": "1.0.9_5",
"description": "Lossless compression algorithm",
"homepage": "https://brotli.org/",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://curl.haxx.se/windows/dl-7.73.0_5/brotli-1.0.9_5-win64-mingw.tar.xz",
"hash": "62bb48f6057e29abbb9a530aded28cc3dbb6b0d7ef878aa8e434f76f47020559",
"extract_dir": "brotli-1.0.9-win64-mingw"
},
"32bit": {
"url": "https://curl.haxx.se/windows/dl-7.73.0_5/brotli-1.0.9_5-win32-mingw.tar.xz",
"hash": "5b40c1d8bb83e5a3ce3a748d6fb4eb220edcc44c17110289b30d5c0253b5f2eb",
"extract_dir": "brotli-1.0.9-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/",
"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",
"find": "SHA256\\($basename\\)=\\s+([a-fA-F\\d]{64})"
}
}
}