summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ef7b1bee6db..087c71b08f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Alex Branham <branham@utexas.edu>
_cranname=openxlsx
-_cranver=4.2.4
+_cranver=4.2.5
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
@@ -10,20 +10,17 @@ pkgdesc="Read, Write and Edit xlsx Files"
arch=(i686 x86_64)
url="https://cran.r-project.org/package=${_cranname}"
license=(MIT)
-depends=('r>=3.3.0' r-rcpp r-zip r-stringi)
-optdepends=(r-knitr r-testthat r-roxygen2 r-rmarkdown)
+depends=('r>=3.3.0' r-rcpp r-stringi r-zip)
+optdepends=(r-knitr r-rmarkdown r-roxygen2 r-testthat)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
-sha256sums=('af571b3c60cea2a5975f6a394469f1c50266d4a5c5c91896b991b1b3ba8bc86e')
+sha256sums=('65d06d2819b656ac30fc78437ee712a83fb5a7ab750f56268e5c9e578c582519')
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"
}