How to build with pamac without installing due to conflict

I would use git clone then makepkg to build the package but not install it. For more information see:

https://wiki.archlinux.org/title/Arch_User_Repository