Add and document R-cran build style; support CRAN in update-check.

This commit is contained in:
Florian Wagner 2017-06-06 14:02:47 +02:00 committed by Leah Neukirchen
parent 9a5b3d447e
commit f2c0f7885e
4 changed files with 20 additions and 0 deletions

View file

@ -57,6 +57,8 @@ update_check() {
url="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/cache.json";;
*kernel.org/pub/linux/kernel/*)
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)';;
esac
fi