Linux Mastering Development Ubuntu

What is the exact minimum file structure for creating a custom ubuntu package installable via “apt-get install mypackage”? [duplicate]

New Ubuntu prospect here. I am used to the NPM/Node.js ecosystem where you simply create a package.json and do an npm publish and your package is ready to npm install. But then I look at the Ubuntu docs (and related Debian docs): Create debian packages Create ubuntu packages And it seems it’s not so easy. […]