It looks like it is using the old PKGBUILD.
Try rm -rf /home/reinhold/.cache/yay/prusa-slicer-gtk2-bin before you run yay.
It looks like it is using the old PKGBUILD.
Try rm -rf /home/reinhold/.cache/yay/prusa-slicer-gtk2-bin before you run yay.