summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Drobot2022-01-18 22:42:15 +0300
committerViktor Drobot2022-01-18 22:42:15 +0300
commit8f9ba7b3d3fc7b16f7e27b62e6542e5f22a326ac (patch)
tree09f23ff7b11d5d03b6d67a2087a3c6fd980bcfab
parentb699c3bb758cafce78e6c18a3b8b34dcfe11944d (diff)
downloadaur-8f9ba7b3d3fc7b16f7e27b62e6542e5f22a326ac.tar.gz
Fix PKGBUILD
-rw-r--r--PKGBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 98b2958bf57..acf2752bb60 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,14 +16,11 @@ source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz"
sha256sums=('622860f995f78be3a6e439f29d945874c5cb0866f6a73a9b43ac1d4d7f23fed8')
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"
}