void-packages/srcpkgs/otfcc/update
2021-04-19 19:55:47 +02:00

2 lines
114 B
Text

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