xbps-src: fix update-check pattern for gitlab

Closes: #49475 [via git-merge-pr]
This commit is contained in:
icp 2024-03-23 16:13:09 +05:30 committed by Andrew J. Hesford
parent 489e05e3f3
commit 5e795a9424
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ update_check() {
*) pkgurlname="$(printf %s "$url" | cut -d / -f 1-5)";;
esac
url="$pkgurlname/-/tags"
rx='/archive/[^/]+/\Q'"$pkgname"'\E-v?\K[\d.]+(?=\.tar\.gz")';;
rx='/archive/[^/]+/\Q'"$pkgname"'\E-v?\K[\d.]+(?=\.tar\.gz)';;
*bitbucket.org*)
pkgurlname="$(printf %s "$url" | cut -d/ -f4,5)"
url="https://bitbucket.org/$pkgurlname/downloads"