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")'