[arch-general] PKGBUILD depends - howto specify alternate packages that can satisfy? possible?

David C. Rankin drankinatty at suddenlinkmail.com
Thu Jan 27 18:21:52 EST 2011


On 01/27/2011 05:05 PM, Allan McRae wrote:
> I guess qt3-enhances has proveds=('qt3') in its PKGBUILD.   So you only need to
> depend on qt3.
> 
> Allan

Sven, Allan,

  Perfect! qt3-enhanced provides qt3:

provides=('qt3=3.3.8' 'qt-enhanced=3.3.8')

so if I understand correctly, then depends=('qt3' ...) will work. Thank you.

One last question. I'm using a patched qt3 for tqtinterface (Trinity
qtinterface) which bumps qt3 to 3.3.8c. Can I rebuild qt3 and make the provides:

provides=('qt3=3.3.8c' 'qt-enhanced=3.3.8c')

or is adding the lowercase 'c' to the provides line wrong?

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


More information about the arch-general mailing list