Hello Werner,
maybe there is an error in the patch for "build-aux/authenticode-sign.sh" Line 234
The script runs in a: "then" is missing - error ...
Also it could be a good choice to create a "$HOME/.gnupg-autogen.rc" with the "template"-content, when "$autogenrc" does not exist; then the build will run smoothly at the end 😄
Here is a tiny patch:
Best regards ...