common/xbps-src: update-check checks new gnome upstream sites
This commit is contained in:
parent
2a795961c7
commit
6d243d7619
1 changed files with 2 additions and 2 deletions
|
@ -130,9 +130,9 @@ update_check() {
|
||||||
pkgurlname="$(printf %s "$url" | cut -d/ -f4,5)"
|
pkgurlname="$(printf %s "$url" | cut -d/ -f4,5)"
|
||||||
url="https://bitbucket.org/$pkgurlname/downloads"
|
url="https://bitbucket.org/$pkgurlname/downloads"
|
||||||
rx='/(get|downloads)/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar)';;
|
rx='/(get|downloads)/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar)';;
|
||||||
*ftp.gnome.org*)
|
*ftp.gnome.org*|*download.gnome.org*)
|
||||||
: ${pattern="\Q$pkgname\E-\K(0|[13]\.[0-9]*[02468]|[4-9][0-9]+)\.[0-9.]*[0-9](?=)"}
|
: ${pattern="\Q$pkgname\E-\K(0|[13]\.[0-9]*[02468]|[4-9][0-9]+)\.[0-9.]*[0-9](?=)"}
|
||||||
url="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/cache.json";;
|
url="https://download.gnome.org/sources/$pkgname/cache.json";;
|
||||||
*kernel.org/pub/linux/kernel/*)
|
*kernel.org/pub/linux/kernel/*)
|
||||||
rx=linux-'\K'${version%.*}'[\d.]+(?=\.tar\.xz)';;
|
rx=linux-'\K'${version%.*}'[\d.]+(?=\.tar\.xz)';;
|
||||||
*cran.r-project.org/src/contrib*)
|
*cran.r-project.org/src/contrib*)
|
||||||
|
|
Loading…
Reference in a new issue