summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD7
2 files changed, 2 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0761f686d03..797fbdb8c11 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -19,4 +19,3 @@ pkgbase = r-callr
sha256sums = d67255148595c6d0ba4c4d241bc9f6b5e00cafe25fdc13e38c10acc38653360a
pkgname = r-callr
-
diff --git a/PKGBUILD b/PKGBUILD
index 041ccd2f639..1b210288c8b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,14 +15,11 @@ source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
sha256sums=('d67255148595c6d0ba4c4d241bc9f6b5e00cafe25fdc13e38c10acc38653360a')
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"
}