{
    "version": "16.1.0-14.0.0-r1",
    "description": "GNU Compiler Collection (UCRT, 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/16.1.0posix-14.0.0-ucrt-r1/winlibs-x86_64-posix-seh-gcc-16.1.0-mingw-w64ucrt-14.0.0-r1.7z",
            "hash": "2a051d23cb7378ec413341bf94fd4b6404f11c95d4ff58e063fa0dbfe02bed20",
            "extract_dir": "mingw64"
        },
        "32bit": {
            "url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/16.1.0posix-14.0.0-ucrt-r1/winlibs-i686-posix-dwarf-gcc-16.1.0-mingw-w64ucrt-14.0.0-r1.7z",
            "hash": "9c364ec15e5e6627c4c8a30ba1d2163e20a53cd20d2d988ab6d5b2a7b0c92e60",
            "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.]+)-ucrt-r(?<release>\\d+)",
        "replace": "${gcc}-${mingw}-r${release}"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/$matchGccposix-$matchMingw-ucrt-r$matchRelease/winlibs-x86_64-posix-seh-gcc-$matchGcc-mingw-w64ucrt-$matchMingw-r$matchRelease.7z"
            },
            "32bit": {
                "url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/$matchGccposix-$matchMingw-ucrt-r$matchRelease/winlibs-i686-posix-dwarf-gcc-$matchGcc-mingw-w64ucrt-$matchMingw-r$matchRelease.7z"
            }
        },
        "hash": {
            "url": "$url.sha256"
        }
    }
}
