How to rename downloaded source files using _services?


How do I rename downloaded (using the download_url service) source files? I presently have this _service file:

  <service name="download_url">
    <param name="protocol">https</param>
    <param name="host"></param>
    <param name="path">/vim/vim/archive/v8.0.0194.tar.gz</param>

and I would like the tarball v8.0.0194.tar.gz to be renamed as vim_8.0.0194.orig.tar.gz. Is this possible?

Thanks for your time,

you can give custom name via filename parameter: