This is a very unimpressive bash script I wrote to automatically dump tarball URLs from the MSYS2 pacman repos you copy from your web browser, and put them in your MINGW prefix.
I made this because I hate using Windows but I also am incredibly disappointed in how fucking annoying dependency management is on Linux MINGW - Linux distributions do not make a good enough effort to provide dedicated MSYS2 packages (because they are only needed by a very small minority).
You still have to track down dependencies yourself but at least each installation is just a single Ctrl+V. So yeah, enjoy.