[aur-general] Handling of virtual packages
mysatyre at gmail.com
Wed Sep 21 07:19:10 UTC 2016
On Tue, Sep 20, 2016 at 10:12 PM, buckket <buckket at cock.li> wrote:
> As there some programs out there which use redo’s .do files in their
> building process it’s important that they can specify redo, or any of
> the existing implementations in their makedepends. But as far as I know
> there is no way to specify either package A OR B as a dependency for
> package C, so I came to the conclusion that using such a virtual package
> would make perfect sense and is the only valid option here.
Look at man PKGBUILD's provides=() entry. That makes a package provide
a basic functionality, in your case redo, in a particular form, eg.
It is also a good idea to use conflicts=() to prevent packages from
providing the same thing from being installed.
More information about the aur-general