I'm not sure if this is the correct way, but I don't see something like optmakedepends anywhere.
https://wiki.archlinux.org/title/PKGBUILD#makedepends - If the software works on multiple alternative dependencies, all of them can be listed here, instead of the depends array.
As the title says. Otherwise it requires me to install
linux-headers
on Zen kernel (when I already havelinux-zen-headers
installed). Copied from https://github.com/archlinux/svntogit-packages/blob/packages/dkms/trunk/PKGBUILD (plus version restriction).I'm not sure if this is the correct way, but I don't see something like
optmakedepends
anywhere. https://wiki.archlinux.org/title/PKGBUILD#makedepends -If the software works on multiple alternative dependencies, all of them can be listed here, instead of the depends array.