The currently kernel doesn't have CONFIG_SMB_SERVER set, so [url=https://www.kernel.org/doc/html/next/filesystems/smb/ksmbd.html]KSMBD[/url] can't be used.
Please enable this as a module
Also it might be a good idea to provide KSMBD-MODULE in the package since [url=https://aur.archlinux.org/packages/ksmbd-tools]ksmbd-tools[/url] requires it.