diff options
author | Viktor Drobot | 2022-01-18 21:34:38 +0300 |
---|---|---|
committer | Viktor Drobot | 2022-01-18 21:34:38 +0300 |
commit | 05432b90f313991f571e912374d8bab79965c457 (patch) | |
tree | 39c450354389663854578b48ece245db34a76db1 | |
parent | b41294e47df814a0ed154764ab7ff864fa9f4bd1 (diff) | |
download | aur-05432b90f313991f571e912374d8bab79965c457.tar.gz |
Fix PKGBUILD
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 3 insertions, 7 deletions
@@ -11,4 +11,3 @@ pkgbase = r-coda sha256sums = 422d3cfd34797a3631e9c4812431940599c0ca4bb9937797bed07b7b1d6fe58f pkgname = r-coda - @@ -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 <alex.branham@gmail.com> @@ -16,14 +16,11 @@ source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz" sha256sums=('422d3cfd34797a3631e9c4812431940599c0ca4bb9937797bed07b7b1d6fe58f') 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" } |