I have been maintaining this script for some time now. It is now found 
here. It is very useful for me at least; whenever  Graham issues a new version, just one shell command to install it. It handles both the development versions (using the -d or --development option) and the official release (without the option). It can install anywhere the user requests. If normal user (i.e. not root or sudo), it installs per default in $HOME//share/rmir (which is then writeable). The script creates wrappers called rmir, rmdu, rmpm, per default linked though $HOME/bin. It modifies the desktop icons to uses these wrappers.
There are also a number of other options. This is what the --help option says:
Code: Select all
$ ./download-install.sh --help
Usage: ./download-install.sh [OPTIONS] [zip-file]
Installs RMIR, RMDU, and RMPB in the system, compatible with the
Freedesktop standard (https://www.freedesktop.org).
If a zip-file is not given as argument, it is downloaded from
https://sourceforge.net/projects/controlremote/files/latest/download.
Options:
    -d, --development                 Try to download from the development folder instead of "latest".
    -?, -h, --help                    Display this help and exit.
    -j, --java command-for-java       Command to invoke Java, default "java".
    -s, --scale scale-factor          scale factor for the GUI, default 1. Not supported by all JVMs.
    -H, --rmhome RM-install-dir       Directory in which to install, default /home/bengt/share/rmir.
    -l, --link directory-for-links    Directory in which to create start links, default /home/bengt/bin.
    -u, --uninstall                   Undo previous installation.
    -w, --writeable-install           Write config and logs in installation directory.
This script should be run with the privileges necessary for writing
to the locations selected.
(where, of course, "/home/bengt" is replaced by the current user's home directory.)
Again, this is not suppored or condoned by Graham. It is intended for Linux user who are not afraid of the command line. The script program is public domain.
Possibly somone finds it useful. 
