In the PKGBUILD, asciidoctor is only used to build una docs at build time, but it is described as a runtime dependency in depends.
Consider to move asciidoctor to makedepends so it could be uninstalled after package build.
If you want, I can submit a pull request.