void-packages/srcpkgs/otfcc/update

3 lines
114 B
Plaintext

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