I have an application that I have completely developed, tested it on the device and have working by copying the complied ARM binary copied. I can't seem to find a clean solution though for packaging. I can generate the deb package using scratchbox dpgk -b to build the binary package. This works however when trying to install the package every time it comes up with an error saying the PostInst script exited with an error. This script file is empty except for a simply statement the exits with a return code of 0 indicating success. Is there clear documentation on how this should be done? It appears that Qt 4.6 uses the sh_ commands to build a .deb package, so if there's a way to simply update the folder that it's using to include the icon and .desktop file that would be ideal, but if it has to be done manually I can do that as well.
I've followed multiple walk throughs on Maemo.org but none of them are successful. Any help is greatly appreciated. The development itself isn't bad but this packaging is really difficult. I've packaged things for linux on the desktop before and never had this level of difficulty.