version=4

opts=\
repacksuffix=+dfsg,\
repack,\
filenamemangle=s%(?:.*?/)??v?(@ANY_VERSION@@ARCHIVE_EXT@)%@PACKAGE@-$1%,\
dversionmangle=auto,\
uversionmangle=s%^@ANY_VERSION@-(es|npm)$%$1~$2% \
https://github.com/lodash/lodash/tags (?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@ group

# Taken from https://github.com/lodash/lodash/blob/4.17/.travis.yml
opts="mode=git,pretty=4.17.21.%cd,pgpmode=none,ctype=nodejs,component=lodash-cli" \
https://github.com/bnjmnt4n/lodash-cli HEAD checksum

# It is not recommended use npmregistry. Please investigate more.
# Take a look at https://wiki.debian.org/debian/watch/
opts=searchmode=plain,ctype=nodejs,component=types-lodash,pgpmode=none,\
 filenamemangle=s%(?:.*?)-?(@ANY_VERSION@@ARCHIVE_EXT@)%types-lodash-$1% \
 https://registry.npmjs.org/@types/lodash https://registry.npmjs.org/@types/lodash/-/lodash-@ANY_VERSION@@ARCHIVE_EXT@ checksum
