How to successfully package and install self developed plugins?

This might be helpful as well: