For detailed information on creating new packages, read the New Maintainers' Guide, available in the maint-guide package, or at https://www.debian.org/doc/manuals/maint-guide/.
maint-guide
https://www.debian.org/doc/manuals/maint-guide/