2020-06-02 19:00:25 +00:00

44 lines
1.6 KiB
JSON

{
"version": "1.0.7_1",
"homepage": "https://brotli.org/",
"description": "Lossless compression algorithm",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://curl.haxx.se/windows/dl-7.70.0_1/brotli-1.0.7_1-win64-mingw.tar.xz",
"hash": "54ed79bb66dd029abcae9d1c7aedd313a1ba3532cd3fffb5a16cf99536d82442",
"extract_dir": "brotli-1.0.7-win64-mingw"
},
"32bit": {
"url": "https://curl.haxx.se/windows/dl-7.70.0_1/brotli-1.0.7_1-win32-mingw.tar.xz",
"hash": "3ece91252e5a05f46703505c25c8a53517d7eea76cced9b8e95779340c33e22b",
"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})"
}
}
}