The template files for all packages are in the `srcpkgs` folder in void-packages repository, in this repository you find a Readme for a short overview how packages are build with `xbps-src`, the Manual file contains a complete documentation for template files.

Here is more about runtime dependencies https://github.com/voidlinux/void-packages/blob/master/Manual.md#runtime-dependencies

Here you get the whole dependencie tree as a graph https://twitter.com/voidlinux/status/576680363843522560

Am Mittwoch, 21. Oktober 2015 15:32:30 UTC+2 schrieb polkovnik chechen:
i wonder how xbps is looking for dependencies.how the system is working.what are the diffrences from arch,ubuntu or others.ex where do you know a package's dependencies?when are you building a package how do you know?