There are many ways to create Debian packages.
I show you the standard way with some variants which are also pragmatic.