update-check: add gitlab.freedesktop.org
This commit is contained in:
parent
80cbd2d4bb
commit
1bbbd55871
3 changed files with 2 additions and 5 deletions
|
@ -48,7 +48,7 @@ update_check() {
|
|||
githubname="$(printf %s "$url" | cut -d/ -f4,5)"
|
||||
url="https://github.com/$githubname/tags"
|
||||
rx='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")';;
|
||||
*gitlab.com*|*gitlab.gnome.org*)
|
||||
*gitlab.com*|*gitlab.gnome.org*|*gitlab.freedesktop.org*)
|
||||
gitlaburl="$(printf %s "$url" | cut -d/ -f1-5)"
|
||||
url="$gitlaburl/tags"
|
||||
rx='/archive/[^/]+/\Q'"$pkgname"'\E-v?\K[\d\.]+(?=\.tar\.gz")';;
|
||||
|
@ -83,7 +83,7 @@ update_check() {
|
|||
done |
|
||||
tr _ . |
|
||||
sort -Vu |
|
||||
{
|
||||
{
|
||||
grep . || echo "NO VERSION found for $original_pkgname" 1>&2
|
||||
} |
|
||||
while IFS= read -r found_version; do
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
site=https://gitlab.freedesktop.org/mesa/drm/tags
|
||||
pkgname=drm-libdrm
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
site=https://gitlab.freedesktop.org/spice/spice-protocol/tags
|
||||
pattern="v\K[\d\.]*(?=\.tar\.gz)"
|
Loading…
Reference in a new issue