Currently, prepare and package are run on the host system, this means that there is no way to ensure that different commands are actually available. This makes package recipes not fully portable between distributions.
It would probably make sense to run in the same container that build runs in, and that way we can make use of makedepends to add needed dependencies.