{
    "version": "15.2.0-14.0.0-r7",
    "description": "GNU Compiler Collection (MSVCRT, WinLibs build)",
    "homepage": "https://winlibs.com",
    "license": "GPL-3.0-or-later,ZPL-2.1,BSD-2-Clause,...",
    "architecture": {
        "64bit": {
            "url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/15.2.0posix-14.0.0-msvcrt-r7/winlibs-x86_64-posix-seh-gcc-15.2.0-mingw-w64msvcrt-14.0.0-r7.7z",
            "hash": "78e9b1d1e943f15b2210b0007620aacc62baea483d9245478a13c028b21f63e2",
            "extract_dir": "mingw64"
        },
        "32bit": {
            "url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/15.2.0posix-14.0.0-msvcrt-r7/winlibs-i686-posix-dwarf-gcc-15.2.0-mingw-w64msvcrt-14.0.0-r7.7z",
            "hash": "3b772c700436a2235ac1640ff44f61996d28f418f67a209a8b04be3301d74f23",
            "extract_dir": "mingw32"
        }
    },
    "post_install": "Copy-Item \"$dir\\bin\\mingw32-make.exe\" \"$dir\\bin\\make.exe\"",
    "env_add_path": "bin",
    "checkver": {
        "regex": "(?<gcc>[\\d.]+)posix-(?<mingw>[\\d.]+)-msvcrt-r(?<release>\\d+)",
        "replace": "${gcc}-${mingw}-r${release}"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/$matchGccposix-$matchMingw-msvcrt-r$matchRelease/winlibs-x86_64-posix-seh-gcc-$matchGcc-mingw-w64msvcrt-$matchMingw-r$matchRelease.7z"
            },
            "32bit": {
                "url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/$matchGccposix-$matchMingw-msvcrt-r$matchRelease/winlibs-i686-posix-dwarf-gcc-$matchGcc-mingw-w64msvcrt-$matchMingw-r$matchRelease.7z"
            }
        },
        "hash": {
            "url": "$url.sha256"
        }
    }
}
