Is there a way that makepkg can understand a logical OR in depends section ?
Last edited by ebal (2012-12-21 18:58:53)
Unix System Engineer - Registered Linux User #420129
Let's see if I can answer this correctly:
The "depends" line doesn't look for package names. Instead it looks for what a package "provides", which, in most cases, also happens to be the name of the package.
The "program-git" package should have a "provides" statement that tells pacman it can be used in place of "program". So, you don't have to "depend" on "program" and "program-git", just "program".
If "program-git" doesn't have a "provides" line, it's probably a bug in the PKGBUILD file for "program-git" and should be fixed.
...Does that make sense? I may have confused myself.
Last edited by drcouzelis (2012-12-21 17:52:48)