[aur-general] Handling of virtual packages
Pedro A. López-Valencia
vorbote at outlook.com
Tue Sep 20 20:38:52 UTC 2016
On 20/09/2016 3:12 p. m., buckket wrote:
> 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...
I maintain several packages that all provide the same software,
different versions, and therefore conflict with each other. The
canonical way I've used based on PKGBUILDs created by long-time devs and
TUs is to add both a "provides=()" and "conflicts=()" pointing to a
common, usually the main, package version. This is all documented in
PKGBUILD(1). See the brave browser family for an example.
More information about the aur-general