I build a package from my own source using dh_make and dpkg-buildpackage. The install-file in /debian specifies the destinations for the project files. To make the installed program work, they need to be executable / have execution permissions with chmod. In particular it is about a python script and a .desktop-file.
How do I set those permissions in setup? By only copying them to their destinations it is not done. It would be ok for me if I could trigger a command at the end of setup, or something like this, but don't know how to include this.