void-packages/srcpkgs/calibre/update

3 lines
126 B
Plaintext

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