[aur-general] packaging question for optional-wayland optional-xorg package

Jonathon Fernyhough jonathon at m2x.dev
Sun Oct 17 23:30:28 UTC 2021


On 17/10/2021 15:42, todd freed wrote:> Though, if I build a couple 
variants from a single PKGBUILD (which I
> think is what split-package means), wouldn't users need to have
> dependencies installed sufficient to build all of them?

Whatever is listed in the top-level depends and makedepends will be 
installed during package build. Package-specific depends can be listed 
(or appended to) within the each split package's _package() function 
(otherwise the top-level depends is used).

> In that case, should I have separate PKGBUILD files?

No, a split package is appropriate. PKGBUILD files are intended for 
package maintainers, not for consumption by AUR helpers. ;)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20211018/f9948f89/attachment.sig>


More information about the aur-general mailing list