summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCsonka Mihaly2019-05-02 20:29:52 +0200
committerCsonka Mihaly2019-05-02 20:29:52 +0200
commit8259002b12ed6bf6d1f66446b1ecbefe1b95dc1d (patch)
tree7e19da26e835099bb1214c6b5edf9ef35732f081
parent2310e474fb8348d563eaee49cc45048da225bc62 (diff)
downloadaur-8259002b12ed6bf6d1f66446b1ecbefe1b95dc1d.tar.gz
Fix build commands
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 394836a9254..15a5e02bb89 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -20,8 +20,8 @@ pkgbase = r-testthat
optdepends = r-rmarkdown
optdepends = r-usethis
optdepends = r-xml2
- source = https://cran.r-project.org/src/contrib/Archive//
- md5sums = d35da4e4c876c444058f7d26a10600be
+ source = https://cran.r-project.org/src/contrib/testthat_2.0.1.tar.gz
+ md5sums = 329062cb31384b33e1717a3366fb6440
pkgname = r-testthat
diff --git a/PKGBUILD b/PKGBUILD
index 0fcd08fd942..51320760c62 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,6 +2,8 @@
# Contributor: Ward Segers <w@rdsegers.be>
# Contributor: Alex Branham <alex.branham@gmail.com>
_cranver=2.0.1
+_cranname=testthat
+_pkgtar=${_cranname}_${_cranver}.tar.gz
pkgname=r-testthat
pkgver=${_cranver//[:-]/.}
pkgrel=1
@@ -11,8 +13,8 @@ url='https://cran.r-project.org/package=testthat'
license=('MIT')
depends=('r' 'r-cli' 'r-crayon' 'r-digest' 'r-magrittr' 'r-praise' 'r-r6>=2.2.0' 'r-rlang' 'r-withr>=2.0.0')
optdepends=('r-covr' 'r-devtools' 'r-knitr' 'r-rmarkdown' 'r-usethis' 'r-xml2')
-source=("https://cran.r-project.org/src/contrib/Archive/${_cranname}/${_pkgtar}")
-md5sums=('d35da4e4c876c444058f7d26a10600be')
+source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
+md5sums=('329062cb31384b33e1717a3366fb6440')
build(){
R CMD INSTALL testthat_"$_cranver".tar.gz -l "$srcdir"