Updated package version (otherwise build process stops).
No need to redefine RUNDIR and ZM_RUNDIR, as they already depend on DESTDIR.
Improved the script using advise from http://stackoverflow.com/a/16405301/267197 so that re-running the script does not crash reinstall.