If I define ignored packages in /etc/pacman.conf
IgnorePkg = pkgname
it works for repo pkgs but not for AUR pkgs.
yay does not upgrade them but pakku offers to build any AUR pkg including these with a y/n option.
pakku -Syu --ignore aurpkg1 --ignore aurpkg2
does work as expected though, so that can be used.
If all the AUR packages you want ignored appear in one line and it is the first IgnorePkg line in /etc/pacman.conf this works.
For the ordinary binary repo packages they can be placed on multiple IgnorePkg lines.
If I define ignored packages in /etc/pacman.conf IgnorePkg = pkgname it works for repo pkgs but not for AUR pkgs. yay does not upgrade them but pakku offers to build any AUR pkg including these with a y/n option. pakku -Syu --ignore aurpkg1 --ignore aurpkg2 does work as expected though, so that can be used.