1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-12-22 20:21:05 +01:00
void-packages/common/build-style/R-cran.sh
2024-03-29 08:12:19 +01:00

7 lines
184 B
Bash

#
# 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-} )
}