void-packages/srcpkgs/otfcc/update

3 lines
104 B
Text
Raw Normal View History

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