diff options
author | Viktor Drobot | 2019-12-12 20:20:58 +0300 |
---|---|---|
committer | Viktor Drobot | 2019-12-12 20:20:58 +0300 |
commit | 15a8a0b8c45a9fa508fa5d186cf7c39628a8e993 (patch) | |
tree | d05ec098cea8277cf38c6fbd3f77f9968247aca2 | |
parent | bbb0ae188a1b7a4b1d2a7e97a9cb960123e6abca (diff) | |
download | aur-15a8a0b8c45a9fa508fa5d186cf7c39628a8e993.tar.gz |
Update 4.3
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 21 insertions, 18 deletions
@@ -1,24 +1,24 @@ pkgbase = r-curl pkgdesc = A Modern and Flexible Web Client for R - pkgver = 4.2 + pkgver = 4.3 pkgrel = 1 url = https://cran.r-project.org/package=curl arch = i686 arch = x86_64 license = MIT - depends = r + makedepends = gcc + depends = r>=3.0.0 depends = curl - optdepends = r-askpass optdepends = r-spelling - optdepends = r-testthat>=1.0.0 + optdepends = r-testthat optdepends = r-knitr optdepends = r-jsonlite optdepends = r-rmarkdown optdepends = r-magrittr - optdepends = r-httpuv>=1.4.4 + optdepends = r-httpuv optdepends = r-webutils - source = https://cran.r-project.org/src/contrib/curl_4.2.tar.gz - md5sums = 5347e69cd7ee4193bd3a6153ee4fc757 + source = https://cran.r-project.org/src/contrib/curl_4.3.tar.gz + md5sums = 7e3ba9a151543a10ae209b0877b1d605 pkgname = r-curl @@ -4,8 +4,7 @@ # Contributor: Alex Branham <branham@utexas.edu> _cranname=curl -_cranver=4.2 -_pkgtar=${_cranname}_${_cranver}.tar.gz +_cranver=4.3 pkgname=r-curl pkgver=${_cranver//[:-]/.} pkgrel=1 @@ -13,17 +12,21 @@ pkgdesc="A Modern and Flexible Web Client for R" arch=('i686' 'x86_64') url="https://cran.r-project.org/package=${_cranname}" license=('MIT') -depends=('r' 'curl') -optdepends=('r-askpass' 'r-spelling' 'r-testthat>=1.0.0' 'r-knitr' 'r-jsonlite' 'r-rmarkdown' 'r-magrittr' 'r-httpuv>=1.4.4' 'r-webutils') - -source=("https://cran.r-project.org/src/contrib/${_pkgtar}") -md5sums=('5347e69cd7ee4193bd3a6153ee4fc757') +depends=('r>=3.0.0' 'curl') +optdepends=('r-spelling' 'r-testthat' 'r-knitr' 'r-jsonlite' 'r-rmarkdown' 'r-magrittr' 'r-httpuv' 'r-webutils') +makedepends=('gcc') +source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz") +md5sums=('7e3ba9a151543a10ae209b0877b1d605') build(){ - R CMD INSTALL ${_pkgtar} -l $srcdir + cd "${srcdir}" + + R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l ${srcdir} } + package() { - install -d "$pkgdir/usr/lib/R/library" - cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library" -} + cd "${srcdir}" + install -dm0755 "${pkgdir}/usr/lib/R/library" + cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library" +} |