summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Drobot2021-12-05 21:12:39 +0300
committerViktor Drobot2021-12-05 21:12:39 +0300
commitf2ec236330f9f842391e09984292bf28d3eca17f (patch)
tree194fc06b7049ca305793f7e41f1e3318d63c12e6
parent65beef4e39a9c160d6a0dd310b249925c76f4340 (diff)
downloadaur-f2ec236330f9f842391e09984292bf28d3eca17f.tar.gz
Fix PKGBUILD
-rw-r--r--PKGBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 84d88521fa4..f3f2ed6caeb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,14 +16,11 @@ source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz"
sha256sums=('15e5a4732216daed16263c79fb37017c2ada84a2d4e785e3b76445d0eba3dc1d')
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"
}