Buildpkg: how to provide public keys

Hi, I am trying to use buildpkg to build qpdfviewer from the aur.

Build instructions say that I should obtain the pgp public key for developer Adam Reichold and suggest using gpg --recv-keys 1F521FF0F87E9E1CDE46B8A9F4928C4DD24D4DF8. However this does not work with buildpkg. How I can tell buildpkg to put some needed pgp key in the chroot it uses?

gpg --recv-key then enter the key

then you want to call makepkg

buildpkg is no longer maintained. Please use chrootbuild instead. It will automatically import your user keyring.

Example:

sudo chrootbuild -p qpdfview -c

@jrichard326 We’re not talking about using makepkg directly. He already tried that :wink:

1 Like

I think the correct package is qpdfview. I do not see a package called qpdfviewer:

https://aur.archlinux.org/packages/qpdfview

1 Like