void-packages/srcpkgs/otfcc/update

3 lines
104 B
Plaintext

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