[aur-general] Handling of virtual packages
buckket at cock.li
Tue Sep 20 20:12:26 UTC 2016
I’m currently maintaining serval packages on the AUR which are all
implementations of djb’s redo, an incremental build system. However
there are minor differences between all those implementations, and as
djb never wrote one himself there is no "offical" one. That’s why I
decided to give the packages unique names like "redo-sh" and let them
all provide "redo" in their PKGBUILD.
Coming from Debian I’m familiar with the concept of virtual packages
like www-browser, which makes it easy do specify a general dependency
without getting to specific about it.
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.
I already saw that "sh" is used like this, but I found no official
resources on how Arch or the AUR handles such cases.
Also someone just recently created a "redo" package which is in fact
just one of the many implementations, which I find kinda problematic.
Especially if somebody doesn’t know about the current status of the redo
So if anybody knows about the modus operandi in such cases I’d be glad
to hear about it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: OpenPGP digital signature
More information about the aur-general