avr-gcc: Update download locations (#3399)

* Update download locations

* Tabs to spaces

* Add auto-update hash file
This commit is contained in:
Zak Kemble 2022-03-21 21:07:47 +00:00 committed by GitHub
parent 4467784c81
commit 1cb7ed119e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,13 +5,13 @@
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://blog.zakkemble.net/download/avr-gcc-11.1.0-x64-windows.zip", "url": "https://github.com/ZakKemble/avr-gcc-build/releases/download/v11.1.0-1/avr-gcc-11.1.0-x64-windows.zip",
"hash": "md5:3043b0659163dd116d02fe3470d404d5", "hash": "e11ec78125a11242cc45169d96bbff9f35b4b7b916711ff4fad64c62379a71f7",
"extract_dir": "avr-gcc-11.1.0-x64-windows" "extract_dir": "avr-gcc-11.1.0-x64-windows"
}, },
"32bit": { "32bit": {
"url": "https://blog.zakkemble.net/download/avr-gcc-11.1.0-x86-windows.zip", "url": "https://github.com/ZakKemble/avr-gcc-build/releases/download/v11.1.0-1/avr-gcc-11.1.0-x86-windows.zip",
"hash": "md5:b6459d9048b0870a96544330e54b66ae", "hash": "a73d9a1353964ff7dc96226c41a568a2b42aea2d71de97d6aceb193cf003fadf",
"extract_dir": "avr-gcc-11.1.0-x86-windows" "extract_dir": "avr-gcc-11.1.0-x86-windows"
} }
}, },
@ -47,21 +47,22 @@
"bin\\avr-strings.exe", "bin\\avr-strings.exe",
"bin\\avr-strip.exe" "bin\\avr-strip.exe"
], ],
"checkver": "AVR-GCC\\s*([\\d.]+)\\s+for", "checkver": {
"github": "https://github.com/ZakKemble/avr-gcc-build"
},
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://blog.zakkemble.net/download/avr-gcc-$version-x64-windows.zip", "url": "https://github.com/ZakKemble/avr-gcc-build/releases/download/v$version-1/avr-gcc-$version-x64-windows.zip",
"extract_dir": "avr-gcc-$version-x64-windows" "extract_dir": "avr-gcc-$version-x64-windows"
}, },
"32bit": { "32bit": {
"url": "https://blog.zakkemble.net/download/avr-gcc-$version-x86-windows.zip", "url": "https://github.com/ZakKemble/avr-gcc-build/releases/download/v$version-1/avr-gcc-$version-x86-windows.zip",
"extract_dir": "avr-gcc-$version-x86-windows" "extract_dir": "avr-gcc-$version-x86-windows"
} }
}, },
"hash": { "hash": {
"url": "https://blog.zakkemble.net/avr-gcc-builds/", "url": "$baseurl/SHA256SUMS"
"regex": "(?sm)$basename.*?MD5:\\s*$md5"
} }
} }
} }