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

@ -0,0 +1,7 @@
#
# This helper is for templates using R-cran.
#
do_install() {
mkdir -p ${DESTDIR}/usr/lib/R/library
( cd .. && R CMD INSTALL -l ${DESTDIR}/usr/lib/R/library ${pkgname#R-cran-} )
}