mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-11-24 15:21:06 +01:00
13 lines
426 B
Bash
13 lines
426 B
Bash
makedepends+=" R"
|
|
depends+=" R"
|
|
create_wrksrc=required
|
|
build_wrksrc="${pkgname#R-cran-}"
|
|
|
|
# default to cran
|
|
if [ -z "$distfiles" ]; then
|
|
distfiles=" https://cran.r-project.org/src/contrib/Archive/${pkgname#R-cran-}/${pkgname#R-cran-}_${version//r/-}.tar.gz"
|
|
case " $XBPS_DISTFILES_MIRROR " in
|
|
*" https://cran.r-project.org/src/contrib "*) ;;
|
|
*) XBPS_DISTFILES_MIRROR+=" https://cran.r-project.org/src/contrib" ;;
|
|
esac
|
|
fi
|