void-packages/srcpkgs/lua54-luafilesystem/update

2 lines
91 B
Text

pattern='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d\._]+(?=\.tar\.gz")'
version=${version//_/.}