Meinst du sowas wie pactree?
$ pactree
pactree (pacman) v5.0.1
A simple dependency tree viewer.
Usage: pactree [options] PACKAGE
-a, --ascii use ASCII characters for tree formatting
-b, --dbpath <path> set an alternate database location
-c, --color colorize output
-d, --depth <#> limit the depth of recursion
-g, --graph generate output for graphviz's dot
-h, --help display this help message
-l, --linear enable linear output
-r, --reverse list packages that depend on the named package
-s, --sync search sync databases instead of local
-u, --unique show dependencies with no duplicates (implies -l)
--config <path> set an alternate configuration file