mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-interactivedisplay: set default CRAN mirror to avoid fail building, fix #36
This commit is contained in:
parent
96078f6435
commit
3ac17a9478
3 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||||
|
|
||||||
_pkgname=interactiveDisplay
|
_pkgname=interactiveDisplay
|
||||||
_pkgver=1.32.0
|
_pkgver=1.34.0
|
||||||
pkgname=r-${_pkgname,,}
|
pkgname=r-${_pkgname,,}
|
||||||
pkgver=${_pkgver//[:-]/.}
|
pkgver=${_pkgver//[:-]/.}
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
|
@ -41,9 +41,14 @@ optdepends=(
|
||||||
r-vegan
|
r-vegan
|
||||||
)
|
)
|
||||||
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
sha256sums=('a')
|
sha256sums=('2fcd9e6dbeb6a09bb5c5f446bfae46a6e83dd0db5c639cc66da06182c1b08e3a')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
echo 'options(repos = list(CRAN = "http://cran.r-project.org"))' > "${srcdir}/.Rprofile"
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
R_PROFILE="${srcdir}/.Rprofile" \
|
||||||
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
|
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue