void-packages/srcpkgs/camlp5/update

3 lines
95 B
Text
Raw Normal View History

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