to fix pgpme not found
try find the file on /usr/lib/
then do symlink the actual file to filename that pacman looking for
for example :
cd /usr/lib/
sudo ln -s libgpgme.so.45.0.0 libgpgme.so.11
when pgpme not found in /usr/lib/
download the binary from here
extract
unzstd gpgme-2.0.0-1-x86_64.pkg.tar.zst
tar -xvf gpgme-2.0.0-1-x86_64.pkg.tar
rsync -av usr/ /usr/
then do symlink if pacman still cannot found the pgpme
sudo ln -s libgpgme.so.45.0.0 libgpgme.so.11
symlink is only temporary recover to able to fix the pacman,
the correct one you must download the gpgme with version same as pacman required