diff options
author | Viktor Drobot | 2021-12-05 21:37:30 +0300 |
---|---|---|
committer | Viktor Drobot | 2021-12-05 21:37:30 +0300 |
commit | bf76e1b7a1b1a19e95c5173765ef9ea01c1ed8c9 (patch) | |
tree | 7247557a06f3e37e62ed4df4e1263a6d4e2c8541 | |
parent | 9cfa90b43f8183e68a2f0d141cd0fcece36c1215 (diff) | |
download | aur-bf76e1b7a1b1a19e95c5173765ef9ea01c1ed8c9.tar.gz |
Fix PKGBUILD
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 6 insertions, 12 deletions
@@ -5,8 +5,7 @@ pkgbase = r-purrr url = https://cran.r-project.org/package=purrr arch = i686 arch = x86_64 - license = gpl3 - makedepends = gcc + license = GPL3 depends = r>=3.2 depends = r-magrittr>=1.5 depends = r-rlang>=0.3.1 @@ -19,7 +18,6 @@ pkgbase = r-purrr optdepends = r-tibble optdepends = r-tidyselect source = https://cran.r-project.org/src/contrib/purrr_0.3.4.tar.gz - md5sums = e5800da22652606547ab14b7ae38058e + sha256sums = 23ebc93bc9aed9e7575e8eb9683ff4acc0270ef7d6436cc2ef4236a9734840b2 pkgname = r-purrr - @@ -9,22 +9,18 @@ pkgrel=1 pkgdesc="Functional Programming Tools" arch=(i686 x86_64) url="https://cran.r-project.org/package=${_cranname}" -license=(gpl3) +license=(GPL3) depends=('r>=3.2' 'r-magrittr>=1.5' 'r-rlang>=0.3.1') -makedepends=(gcc) optdepends=(r-covr r-crayon r-dplyr r-knitr r-rmarkdown r-testthat r-tibble r-tidyselect) source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz") -md5sums=('e5800da22652606547ab14b7ae38058e') +sha256sums=('23ebc93bc9aed9e7575e8eb9683ff4acc0270ef7d6436cc2ef4236a9734840b2') build() { - cd "${srcdir}" - - R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l ${srcdir} + R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}" } package() { - cd "${srcdir}" - install -dm0755 "${pkgdir}/usr/lib/R/library" + cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library" } |