void-packages/srcpkgs/lua54-luafilesystem/update

3 lines
91 B
Plaintext

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