void-packages/common/environment/build-style/R-cran.sh
2022-01-29 19:51:56 +01:00

8 lines
222 B
Bash

makedepends+=" R"
depends+=" R"
wrksrc="${XBPS_BUILDDIR}/${pkgname#R-cran-}"
# default to cran
if [ -z "$distfiles" ]; then
distfiles="https://cran.r-project.org/src/contrib/${pkgname#R-cran-}_${version//r/-}.tar.gz"
fi