void-packages/srcpkgs/camlp5/update

3 lines
95 B
Plaintext

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