It should be fairly simple to create a zig library you can use in your build.zig that handles the creation of such packages. AFAIK most big distributions have scripts and tools to automate creation of packages anyway, so you could just shell out to them.
However I don't think it's a sane idea to create packages this way for projects which dynamically link libraries, because [un]fortunately (let's not get into that debate) the same package formats are often used across different distributions, which may call the same library different names in their repos.
For further actions, you may consider blocking this person and/or reporting abuse
IWBN if there were, say, .rpm and .deb build options :) Maybe someday.
It should be fairly simple to create a zig library you can use in your
build.zig
that handles the creation of such packages. AFAIK most big distributions have scripts and tools to automate creation of packages anyway, so you could just shell out to them.However I don't think it's a sane idea to create packages this way for projects which dynamically link libraries, because [un]fortunately (let's not get into that debate) the same package formats are often used across different distributions, which may call the same library different names in their repos.