2021-10-20 23:01:05 +00:00

44 lines
1.6 KiB
JSON

{
"version": "1.0.9_2",
"description": "Lossless compression algorithm",
"homepage": "https://brotli.org/",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://curl.haxx.se/windows/dl-7.79.1_2/brotli-1.0.9_2-win64-mingw.tar.xz",
"hash": "0e7998b594e1ecd62889f9602cd93eee1021b5b932311369a72f536692705f5a",
"extract_dir": "brotli-1.0.9-win64-mingw"
},
"32bit": {
"url": "https://curl.haxx.se/windows/dl-7.79.1_2/brotli-1.0.9_2-win32-mingw.tar.xz",
"hash": "8f865789b88ea594be1328c502d6d4e8372369b9b72389c926dc4481b7c0e0f1",
"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"
}
}
}