{
    "homepage": "http://msys2.github.io",
    "description": "A software distro and building platform for Windows.",
    "##": "64-bit version is able to build both 32-bit and 64-bit packages",
    "version": "2020-05-17",
    "license": "GPL-2.0-only|BSD-3-Clause",
    "architecture": {
        "64bit": {
            "url": "https://github.com/msys2/msys2-installer/releases/download/2020-05-17/msys2-base-x86_64-20200517.tar.xz",
            "extract_dir": "msys64",
            "hash": "sha1:5409e7a10e5d1fcefe3ae120406ed3baa1b6f58a"
        },
        "32bit": {
            "url": "https://github.com/msys2/msys2-installer/releases/download/2020-05-17/msys2-base-i686-20200517.tar.xz",
            "extract_dir": "msys32",
            "hash": "sha1:378e4cdfe41071e47312cfb8951dcb509a559542"
        }
    },
    "pre_install": [
        "if ($architecture -eq '32bit') {",
        "   $manifest.bin += ,@('autorebase.bat', 'autorebase')",
        "}"
    ],
    "bin": [
        [
            "msys2_shell.cmd",
            "msys2",
            "-msys2 -defterm -here -no-start"
        ],
        [
            "msys2_shell.cmd",
            "mingw",
            "-mingw -defterm -here -full-path -no-start"
        ],
        [
            "msys2_shell.cmd",
            "mingw32",
            "-mingw32 -defterm -here -full-path -no-start"
        ],
        [
            "msys2_shell.cmd",
            "mingw64",
            "-mingw64 -defterm -here -full-path -no-start"
        ]
    ],
    "shortcuts": [
        [
            "msys2.exe",
            "MSYS2"
        ],
        [
            "mingw32.exe",
            "MinGW32"
        ],
        [
            "mingw64.exe",
            "MinGW64"
        ]
    ],
    "persist": "home",
    "notes": "Please run 'msys2' now for the MSYS2 setup to complete!"
}
