void-packages/srcpkgs/calibre/update
2021-03-21 01:33:02 -03:00

2 lines
126 B
Text

site="https://github.com/kovidgoyal/calibre/tags"
pattern='/archive/refs/tags/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")'