You are not logged in.
Pages: 1
Is there a way that makepkg can understand a logical OR in depends section ?
eg.
depends=("program|program-git", "program2")
Last edited by ebal (2012-12-21 18:58:53)
https://balaskas.gr
Linux System Engineer - Registered Linux User #420129
Offline
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)
Offline
@drcouzelis thank you - solved
https://balaskas.gr
Linux System Engineer - Registered Linux User #420129
Offline
Pages: 1