Not able to build pdfsam AUR package for a custom Manjaro ISO

archlinux-java-run is an AUR package, so it must be installed manually in the chroot.

FYI, buildpkg from manjaro-tools-pkg-git is deprecated in favor of chrootbuild from manjaro-chrootbuild.

sudo chrootbuild -c -p pdfsam -i /path/to/archlinux-java-run-11-1-any.pkg.tar.zst