common/xbps-src/shutils/update_check.sh: fix url for gitlab

This commit is contained in:
icp 2023-05-19 19:23:08 +05:30 committed by Đoàn Trần Công Danh
parent 742115e531
commit fc68d5f800
3 changed files with 1 additions and 4 deletions

View File

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

View File

@ -1,2 +0,0 @@
site="https://gitlab.com/shackra/goimapnotify/-/tags/"
pattern="goimapnotify-\K[\d.]*(?=\.tar\.gz)"

View File

@ -1 +0,0 @@
site="https://gitlab.com/postmarketOS/megapixels/-/tags"