From fe3d37ec03874141e8c17156bc225267b58904ce Mon Sep 17 00:00:00 2001 From: John Date: Tue, 4 Dec 2018 18:29:03 +0100 Subject: [PATCH] calibre: fix update check --- srcpkgs/calibre/update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/calibre/update b/srcpkgs/calibre/update index 8839502a598..e46aadb2f38 100644 --- a/srcpkgs/calibre/update +++ b/srcpkgs/calibre/update @@ -1,2 +1,2 @@ -site="https://api.github.com/repos/kovidgoyal/calibre/tags" -pattern='"name":\s*"v\K[\w.]+(?=")' +site="https://github.com/kovidgoyal/calibre/tags" +pattern='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")'