17 Oct
2021
17 Oct
'21
11:30 p.m.
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. ;)