2020-09-11 16:01:48 +00:00

44 lines
1.6 KiB
JSON

{
"version": "1.0.8_3",
"homepage": "https://brotli.org/",
"description": "Lossless compression algorithm",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://curl.haxx.se/windows/dl-7.72.0_3/brotli-1.0.8_3-win64-mingw.tar.xz",
"hash": "2c9781cb25d7700ffcc3629ef5577144544dc03b6ceec18bf5a1508b78529221",
"extract_dir": "brotli-1.0.8-win64-mingw"
},
"32bit": {
"url": "https://curl.haxx.se/windows/dl-7.72.0_3/brotli-1.0.8_3-win32-mingw.tar.xz",
"hash": "c2ff0f29ea853e2041dba8ce201abd531dc3082356fbcee60f6c15a15539a95e",
"extract_dir": "brotli-1.0.8-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})"
}
}
}