Add and document R-cran build style; support CRAN in update-check.
This commit is contained in:
parent
9a5b3d447e
commit
f2c0f7885e
4 changed files with 20 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue