2020-10-15 09:51:45 +02:00

44 lines
1.6 KiB
JSON

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