[arch-general] pkgbuild depends() can you have both >= <=?

David C. Rankin drankinatty at suddenlinkmail.com
Mon Jul 30 21:16:28 EDT 2012


  Is it possible to have both a 'greater than' and 'less than' dependency on any
single package listed as a depends in a PKGBUILD?  I want to specify gegl
>=0.1.8 and <=0.2 for gimp26. Possible?

  Man page says:

Entries can also include a version requirement of the form name<>version, where
<> is one of five comparisons: >= (greater than or equal to), <= (less than or
equal to), = (equal to), > (greater than), or < (less than).

  Where the operative phrase is: 'is one of five...'

  Can you list a depends twice? (i.e.: gegl>=0.1.8 gegl<=0.2)

David C. Rankin, J.D.,P.E.

More information about the arch-general mailing list