On 31-01-2023 10:10, Polarian wrote:
Hello,
I have two questions, I merged it into one post to prevent people complaining about Polarian Notifications (aka me popping up on their email every 5 mins).
Does anyone have a good reference I can use to properly make a multi-package PKGBUILD, I have no experience doing this and I want to stick to conventions, and the PKGBUILD ArchWiki page does not seem to cover it.
Secondly, is it possible to create PKG groups within the AUR, I would like to group a few packages together, but I am unsure if I am allowed, or able to do this, unless it is added to an official repository.
Thanks,
Hi, Those are 2 questions that have very little in common . I'll focus on the multi-package part. Split / multi-package PKGBUILDs are a solution to a problem. Any PKGBUILD with one package function (singular) can be transformed into a split package. However if the singular PKGBUILD has no problems, there's no need to do that. Incase a split package can not be transformed back into a singular PKGBUILD, that package should probably not be written as a split package but as separate multiple packages. One example : Programs using llvm as compiler need all of it at compiletime, but at runtime they only need a small part of it to function . Upstream didn't distinguish beteen compiletime & runtime parts, archlinux devs decided to split the runtime parts off to a separate package. look up llvm & llvm-libs in [extra]. LW