> If possible I would prefer to improve the script so that it generates
> the package in the right format, rather than doing everything manually.
Debian's standards for packages are quite extensive (see debian policy:
https://www.debian.org/doc/debian-policy/ ). As annoying as debhelper
can be, it exists for a reason.
Unfortunately you are probably not going to be able to generate a fully
policy-compliant package from a script. There would be no need for
package maintainers if you could!
Let's say that besides the script we also have a `debian/` directory with
all the required files in the right format. Then I would be able to maintain
it easily because the changes that are needed are very minimal (the
program itself has not changed a bit since it was written, its development
is finished).
If you (or some other experienced maintainer) could help generate the
initial package in the right format, it would be easy for me to maintain it.
Otherwise I would have to spend more time with packaging docs (besides
the huge time that I have already spent). Making a deb package seems
to be such a daunting task to me.
Thanks for trying to help.
Dashamir