version=4
opts=\
filenamemangle=s%.*/@ANY_VERSION@%@PACKAGE-$1.tar.gz%,\
downloadurlmangle=s%(api.github.com/repos/[^/]+/[^/]+)/git/refs/%$1/tarball/refs/%g,\
searchmode=plain \
https://api.github.com/repos/isaacs/node-glob/git/matching-refs/tags/ \
https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/@ANY_VERSION@ group

opts=\
component=tiny-glob,\
ctype=nodejs,\
dversionmangle=auto,\
filenamemangle=s/.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-tiny-glob-$1/ \
 https://github.com/terkelg/tiny-glob/tags .*/archive.*/v?([\d\.]+).tar.gz checksum

opts=\
component=globalyzer,\
ctype=nodejs,\
dversionmangle=auto,\
filenamemangle=s/.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-globalyzer-$1/ \
 https://github.com/terkelg/globalyzer/tags .*/archive.*/v?([\d\.]+).tar.gz checksum

opts=\
component=globrex,\
ctype=nodejs,\
dversionmangle=auto,\
filenamemangle=s/.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-globrex-$1/ \
 https://github.com/terkelg/globrex/tags .*/archive.*/v?([\d\.]+).tar.gz checksum
