ScoopInstaller_Main/brotli.json
2018-09-14 18:47:34 +02:00

43 lines
1.6 KiB
JSON

{
"version": "1.0.5_1",
"homepage": "https://brotli.org/",
"description": "Lossless compression algorithm",
"architecture": {
"64bit": {
"url": "https://curl.haxx.se/windows/dl-7.61.1_1/brotli-1.0.5_1-win64-mingw.tar.xz",
"hash": "e56f0b75d79a82a62818f9b8997d29da0760dd6f8633b89dc5b39038e9856136",
"extract_dir": "brotli-1.0.5-win64-mingw"
},
"32bit": {
"url": "https://curl.haxx.se/windows/dl-7.61.1_1/brotli-1.0.5_1-win32-mingw.tar.xz",
"hash": "178abb33af2f134c6a05bc6fe2b2ad7a105c87c5552480f24b26b4cfec3d63ae",
"extract_dir": "brotli-1.0.5-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})"
}
}
}