From f5ee483f5c36e2f408519ca6e86de5e875c1d792 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 4 Dec 2018 18:58:55 +0100 Subject: [PATCH] urbanterror: fix update check --- srcpkgs/urbanterror-data/update | 4 ++-- srcpkgs/urbanterror/update | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/urbanterror-data/update b/srcpkgs/urbanterror-data/update index 3bf822c3b70..d44392c320c 100644 --- a/srcpkgs/urbanterror-data/update +++ b/srcpkgs/urbanterror-data/update @@ -1,2 +1,2 @@ -site="https://api.github.com/repos/Barbatos/ioq3-for-UrbanTerror-4/tags" -pattern='release-\K([\d\.]+)' +site="https://github.com/Barbatos/ioq3-for-UrbanTerror-4/tags" +pattern='/archive/(release-?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")' diff --git a/srcpkgs/urbanterror/update b/srcpkgs/urbanterror/update index 3bf822c3b70..d44392c320c 100644 --- a/srcpkgs/urbanterror/update +++ b/srcpkgs/urbanterror/update @@ -1,2 +1,2 @@ -site="https://api.github.com/repos/Barbatos/ioq3-for-UrbanTerror-4/tags" -pattern='release-\K([\d\.]+)' +site="https://github.com/Barbatos/ioq3-for-UrbanTerror-4/tags" +pattern='/archive/(release-?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")'