mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-11-14 10:58:05 +01:00
8 lines
184 B
Bash
8 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-} )
|
||
|
}
|