Add more options to install resource

Initially added for `--patch`.
Added attributes for completeness:
  - `patch`
  - `source_dir` (`--src-dir`)
  - `--mirror`
  - `url`
  - `md5`