version=4

# The upstream has tarballs in GitHub and in his homepage. The version is the
# same but the content is different. It is a bit confuse. The right way is
# download from homepage. I will kept GitHub with a comment.
#https://github.com/samueltardieu/recoverjpeg/releases .*/archive/v?(\d\S+)\.tar\.(?:bz2|gz|xz)

https://rfc1149.net/devel/recoverjpeg.html .*/recoverjpeg-@ANY_VERSION@@ARCHIVE_EXT@
