On Mon, Jul 11, 2016, 10:18 Lukas Böger <dev@lboeger.de> wrote:
Dear AUR list,
simple question about dependencies in PKGBUILDs:
Package A provides some header files and build scripts. Package B provides additional headers, and their usage only work out if A's headers are in place. Additionaly, package B can only be compiled using A's build scripts.
1) Is it correct to have package A in B's depends AND makedepends arrays?
2) Am I supposed to ignore namcap's warning 'Dependency included and not neede' because it doesn't take header dependencies into account?
Thanks in advance for clarification, Lukas
1) No, depends is enough. Unlike e.g. debian, the depends you declare are implicitly part of the makedepends. 2) Yes, namcap is dumb and can only detect some dependencies, like dynamic links.