When installing in /usr hierarchy we have to split app image as follows:
- app launchers should be installed in /usr/bin directory.
- launcher library and other files should go in /usr/lib/$APPNAME/ directory.
- documentation and copyright file should go into /usr/share/doc/$APPNAME directory.
When installing in /usr/local hierarchy we have to split app image as follows:
- app launchers should be installed in /usr/local/bin directory.
- launcher library and other files should go in /usr/local/lib/$APPNAME/ directory.
- documentation and copyright file should go into /usr/share/doc/$APPNAME directory.
When installing at any other prefix with the root at `/usr` no app image splicing should happen. The app should be installed as usual.
Package layout is defined to comply with Linux Filesystem Hierarchy Standard (https://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html)