astyle: Use downloads mirror (#2809)

- Add extract_dir
- Use hash from autoupdate

![autoupdate](https://i.imgur.com/2aO3ljw.png)
This commit is contained in:
Jakub Čábera 2018-11-25 22:27:41 +01:00 committed by Richard Kuhnt
parent 19e93683c0
commit 322dd5ac72

View File

@ -3,15 +3,12 @@
"description": "A Free, Fast, and Small Automatic Formatter for C, C++, C++/CLI, ObjectiveC, 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"
}
}