diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh index 7e4a6819124..1b9e0e4dde0 100644 --- a/common/xbps-src/shutils/update_check.sh +++ b/common/xbps-src/shutils/update_check.sh @@ -48,6 +48,10 @@ 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*) + gitlabname="$(printf %s "$url" | cut -d/ -f4,5)" + url="https://gitlab.com/$gitlabname/tags" + rx='href="/\Q'$gitlabname'\E/repository/[^\d\.]*\K[\d\.]+(?=/archive\.tar\.gz")';; *bitbucket.org*) bbname="$(printf %s "$url" | cut -d/ -f4,5)" url="https://bitbucket.org/$bbname/downloads" diff --git a/srcpkgs/mdds/update b/srcpkgs/mdds/update deleted file mode 100644 index 83dff2050c8..00000000000 --- a/srcpkgs/mdds/update +++ /dev/null @@ -1,2 +0,0 @@ -site="${homepage}/tags" -pattern="/tags/\K[\d.]+" diff --git a/srcpkgs/tint2/update b/srcpkgs/tint2/update deleted file mode 100644 index 2f54a530469..00000000000 --- a/srcpkgs/tint2/update +++ /dev/null @@ -1,2 +0,0 @@ -site="https://gitlab.com/o9000/tint2/tags" -pattern='tags\/v\K[^\d]*([\d\.]+)(?=")'