| 1 |
version=4 |
| 2 |
# A typical upstream tag looks like v1_7_0 (which should be 1.7.0 in Debian), |
| 3 |
# but if they releaes a luarocks-specific update then it looks like v1_7_0_2 |
| 4 |
# (which should be 1.7.0-2 in Debian). uscan can't handle this on its own, so |
| 5 |
# just turn all _ to . and manually fix things later. |
| 6 |
opts="filenamemangle=s%(?:.*?)?v?(\d[-._\d]*)\.tar\.gz%lua-filesystem-$1.tar.gz%, pgpmode=none, uversionmangle=s/_/./g" \ |
| 7 |
https://github.com/keplerproject/luafilesystem/tags \ |
| 8 |
(?:.*?/)?v?(\d[-._\d]*)\.tar\.gz |