This is following up from this post I made. My aim was to package all flightgear aircraft for ubuntu so that they can be installed easily. This is the first time I have used bash and the Debian packaging system. I thought the best way of doing this would be to write a bash script to take a aircraft in the .zip archive and convert it to a ubuntu source/binary package. This can then be uploaded to repository's/ppa's or just installed as a deb.
I have a working script (when the package is installed it puts the aircraft files in the right directory), but the package metadata (version, copyright, etc...) is incomplete/wrong. I used this script to create the packages in my Flightgear Aircraft PPA. These are only testing packages and should not be used on a stable system as I have done very little testing myself.
Unfortunately I am going to be very busy over the next few months and while I hope to develop this further, I will have no time to do so, however I feel I have got off to a good start and this could now be continued by others. I have attached the full script to this post.
To further this the script needs to be improved by someone with some experience maintaining debian/ubuntu packages and its my aim that a ppa similar to mine can be created on the flghtgear project in launchpad for use by everyone.
Chris