This example show how I have created a package for my project RegExpTestor
So first of all, you have to create a tree. In my case I did this:
regexp_testor
├── DEBIAN
│ ├── control
│ └── postinst
├── opt
│ └── regexp_testor
│ ├── Icon
│ │ └── 48x48
│ │ └── r...