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

Allan McRae allan at archlinux.org
Thu Jan 27 18:05:44 EST 2011

On 28/01/11 08:52, David C. Rankin wrote:
> Guys,
>    I am trying to create a PKGBUILD that needs qt3, but I want to make it
> flexible enough to accept either 'qt3' or 'qt3-enhanced' as a dependency. Can I
> do that?
>    I looked over https://wiki.archlinux.org/index.php/PKGBUILD and I either
> missed a way to do it, or I'm just confused. What say the gurus?

I guess qt3-enhances has proveds=('qt3') in its PKGBUILD.   So you only 
need to depend on qt3.


More information about the arch-general mailing list