This Makefile builds gnupg 2.1, creates .deb packages and installs them on ubuntu trusty (and most likely anywhere else where the necessary build-dependencies are present and checkinstall
is installed ).
If you are missing dependencies, the ./configure steps should tell you about those.
- download gnupg-modern and all required libraries (libgcrypt,libgpg-error,libksba,libassuan,pinentry) from https://gnupg.org/download/index.html
- potentially change version numbers in the Makefile
- run
make gpg