From 07615f0cdbd49b62028d7db614f4a3c02027963b Mon Sep 17 00:00:00 2001 From: Eugene Kliuchnikov Date: Thu, 21 Sep 2017 19:17:03 +0200 Subject: [PATCH] Create brotli.json (#1719) * Create brotli.json * brotli: Add checkver and autoupdate (swap arch properties) --- bucket/brotli.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 bucket/brotli.json diff --git a/bucket/brotli.json b/bucket/brotli.json new file mode 100644 index 000000000..9822a0488 --- /dev/null +++ b/bucket/brotli.json @@ -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" + } + } + } +}