void-packages/srcpkgs/luafilesystem/update

3 lines
91 B
Plaintext

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