On Tue, Sep 20, 2016 at 10:12 PM, buckket <buckket@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. redo-git. It is also a good idea to use conflicts=() to prevent packages from providing the same thing from being installed. cheers! mar77i