Not able to install xsane

It’s in the linked comment.

You modify the PKGBUILD before building it.

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