void-packages/srcpkgs/luafilesystem/update

3 lines
91 B
Text
Raw Normal View History

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