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

Sven-Hendrik Haase sh at lutzhaase.com
Thu Jan 27 17:55:27 EST 2011


On 27.01.2011 23: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?
>
qt3-enhanced needs to provide qt3. Then you can just depend on qt3 and
it will accept both but helpers will attempt to get qt3 vanilla if you
don't already have it. If you have qt3-enhanced it will still work and
accept it if it provides qt3.


More information about the arch-general mailing list