Create brotli.json (#1719)

* Create brotli.json

* brotli: Add checkver and autoupdate (swap arch properties)
This commit is contained in:
Eugene Kliuchnikov 2017-09-21 19:17:03 +02:00 committed by Richard Kuhnt
parent d4e90fde77
commit d583b07859

32
brotli.json Normal file
View File

@ -0,0 +1,32 @@
{
"version": "1.0.0",
"homepage": "https://brotli.org/",
"architecture": {
"64bit": {
"url": "https://github.com/google/brotli/releases/download/v1.0.0/brotli-win-x86_64-v1.0.0.zip",
"hash": "b1475fb8e248415fecf511e2e1bd34d5e3bcf3f1e4edd214ea6e754055de1667"
},
"32bit": {
"url": "https://github.com/google/brotli/releases/download/v1.0.0/brotli-win-i686-v1.0.0.zip",
"hash": "dbbf3fffa2926677a6633d92ba1d990f928ec6926514915b03e492d8b11b059f"
}
},
"bin": [
"brotli.exe",
"unbrotli.exe"
],
"pre_install": "Copy-Item \"$dir\\brotli.exe\" \"$dir\\unbrotli.exe\"",
"checkver": {
"github": "https://github.com/google/brotli"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/google/brotli/releases/download/v$version/brotli-win-x86_64-v$version.zip"
},
"32bit": {
"url": "https://github.com/google/brotli/releases/download/v$version/brotli-win-i686-v$version.zip"
}
}
}
}