From 322dd5ac72e7921887f6d472a31eb9e12942723d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8C=C3=A1bera?= Date: Sun, 25 Nov 2018 22:27:41 +0100 Subject: [PATCH] astyle: Use downloads mirror (#2809) - Add extract_dir - Use hash from autoupdate ![autoupdate](https://i.imgur.com/2aO3ljw.png) --- astyle.json | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/astyle.json b/astyle.json index 083f92ca95..fd814f7a07 100644 --- a/astyle.json +++ b/astyle.json @@ -3,15 +3,12 @@ "description": "A Free, Fast, and Small Automatic Formatter for C, C++, C++/CLI, Objective‑C, C#, and Java Source Code", "version": "3.1", "license": "MIT", - "url": [ - "https://sourceforge.net/projects/astyle/files/astyle/astyle%203.1/AStyle_3.1_windows.zip" - ], - "hash": [ - "0759d0a3b3ad768e0f1984b6faf22c5d9d53c2e081d1cfbd1cc7d6e955e995cb" - ], - "bin": "AStyle\\bin\\AStyle.exe", + "url": "https://downloads.sourceforge.net/project/astyle/astyle/astyle%203.1/AStyle_3.1_windows.zip", + "hash": "sha1:5372ca57577f252cb6efdde12f889329786a72a2", + "extract_dir": "AStyle", + "bin": "bin\\AStyle.exe", "checkver": "Artistic Style ([\\d.]+)", "autoupdate": { - "url": "https://sourceforge.net/projects/astyle/files/astyle/astyle%20$version/AStyle_$version_windows.zip" + "url": "https://downloads.sourceforge.net/project/astyle/astyle/astyle%20$version/AStyle_$version_windows.zip" } }