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
When building libgpg-error0, manual intervention is necessary:
Ubuntu has libgpg-error0 on a multiarch install and only accepts a package of the same version as the i386 version to be co-installed. Additionally, the package mode has to be set to multiarch:both. Checkinstall will halt and ask for modifications to the control file to be made. Those are:
Version: 1.12-0.2ubuntu1
Multi-Arch: same
exit your editor and everything should continue.
the above multiarch hack may or may not break things. you have been warned.