pkgbuild currently discards any runtime dependencies which are not installed at build time. I cannot see any reason why runtime dependencies need to be present on the build machine and this behavior is quite counterintuitve and differs from rpmbuild. The attached patch fixes this.
add runtime dependecies not present at build time