update_check.sh: add update check for kde

This commit is contained in:
John 2018-04-20 15:22:44 +02:00 committed by maxice8
parent ee1132d794
commit 36da56d20a
1 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,9 @@ update_check() {
rx=linux-'\K'${version%.*}'[\d.]+(?=\.tar\.xz)';;
*cran.r-project.org/src/contrib*)
rx='\b\Q'"${pkgname#R-cran-}"'\E_\K\d+(\.\d+)*(-\d+)?(?=\.tar)';;
*download.kde.org/stable/applications*|*download.kde.org/stable/frameworks*)
url="${url%%${version%.*}*}"
rx='href="\K[\d\.]+(?=/")';;
esac
fi