{
    "version": "13.2.0-11.0.1-r2",
    "description": "GNU Compiler Collection (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/13.2.0-17.0.4-11.0.1-msvcrt-r2/winlibs-x86_64-posix-seh-gcc-13.2.0-mingw-w64msvcrt-11.0.1-r2.7z",
            "hash": "823bcacca1e91d9b469805f409550b1be9194b944dc6697d3c12f76fae6e9101",
            "extract_dir": "mingw64"
        },
        "32bit": {
            "url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/13.2.0-17.0.4-11.0.1-msvcrt-r2/winlibs-i686-posix-dwarf-gcc-13.2.0-mingw-w64msvcrt-11.0.1-r2.7z",
            "hash": "e106dac0f9fab7d72e62d5c29abd16275bfe08fd9fc7f7af5d3c0a974aa6afb9",
            "extract_dir": "mingw32"
        }
    },
    "post_install": "Copy-Item \"$dir\\bin\\mingw32-make.exe\" \"$dir\\bin\\make.exe\"",
    "env_add_path": "bin",
    "checkver": {
        "regex": "(?<gcc>[\\d.]+)-(?<llvm>[\\d.]+)-(?<mingw>[\\d.]+)-msvcrt-r(?<release>\\d+)",
        "replace": "${gcc}-${mingw}-r${release}"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/$matchGcc-$matchLlvm-$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/$matchGcc-$matchLlvm-$matchMingw-msvcrt-r$matchRelease/winlibs-i686-posix-dwarf-gcc-$matchGcc-mingw-w64msvcrt-$matchMingw-r$matchRelease.7z"
            }
        },
        "hash": {
            "url": "$url.sha256"
        }
    }
}
