void-packages/srcpkgs/lua54-luafilesystem/update

3 lines
100 B
Plaintext

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