Modifications to the MSYS2 mingw-w64-nsis to get it to compile on my system.
Even after the PKGBUILD killed the zlib hard-check, I still had some troubles. This repo includes those changes.
Modifications to the MSYS2 mingw-w64-nsis to get it to compile on my system
NSIS