diff options
author | Viktor Drobot | 2022-01-18 22:22:30 +0300 |
---|---|---|
committer | Viktor Drobot | 2022-01-18 22:22:30 +0300 |
commit | 175fcad3e944a16aa75423bb4322d3a530ddf09a (patch) | |
tree | 918f0c218687b91f838fc577da7a8995e3b75498 | |
parent | f11418c946422d9c2e7f767061cd6b54db6ec3be (diff) | |
download | aur-175fcad3e944a16aa75423bb4322d3a530ddf09a.tar.gz |
Fix PKGBUILD
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 5 insertions, 9 deletions
@@ -20,7 +20,6 @@ pkgbase = r-lintr optdepends = r-rmarkdown optdepends = r-mockery source = https://cran.r-project.org/src/contrib/lintr_2.0.1.tar.gz - md5sums = 64aa4721c8765a6616dd7088f44cd29d + sha256sums = fe0723757b653ef83ec7a5005d0a7524cd917d646d35a5627ee639158881ce93 pkgname = r-lintr - @@ -1,4 +1,4 @@ -# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com +# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com # Contributor: Ward Segers <w@rdsegers.be> # Contributor: Alex Branham <branham@utexas.edu> @@ -14,17 +14,14 @@ license=(MIT) depends=('r>=3.2' r-rex r-crayon r-cyclocomp 'r-testthat>=2.2.1' r-digest 'r-rstudioapi>=0.2' 'r-httr>=1.2.1' r-jsonlite r-knitr 'r-xml2>=1.0.0' 'r-xmlparsedata>=1.0.3') optdepends=(r-rmarkdown r-mockery) source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz") -md5sums=('64aa4721c8765a6616dd7088f44cd29d') +sha256sums=('fe0723757b653ef83ec7a5005d0a7524cd917d646d35a5627ee639158881ce93') 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" } |