summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Drobot2021-12-22 23:15:19 +0300
committerViktor Drobot2021-12-22 23:15:19 +0300
commit7cac5f837e5ce53d63bd2d69ba50e30f1b6e8fe5 (patch)
treed50c0ee6b68aa81283a45755ed6284c5a68b4245
parentd0d0e8956e5901bb8ce6b97706433129bebe1d15 (diff)
downloadaur-7cac5f837e5ce53d63bd2d69ba50e30f1b6e8fe5.tar.gz
Fix PKGBUILD
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD15
2 files changed, 12 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c6e843e903c..f5fa8fcbfc9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = r-openxlsx
pkgdesc = Read, Write and Edit xlsx Files
- pkgver = 4.2.4
+ pkgver = 4.2.5
pkgrel = 1
url = https://cran.r-project.org/package=openxlsx
arch = i686
@@ -8,13 +8,13 @@ pkgbase = r-openxlsx
license = MIT
depends = r>=3.3.0
depends = r-rcpp
- depends = r-zip
depends = r-stringi
+ depends = r-zip
optdepends = r-knitr
- optdepends = r-testthat
- optdepends = r-roxygen2
optdepends = r-rmarkdown
- source = https://cran.r-project.org/src/contrib/openxlsx_4.2.4.tar.gz
- sha256sums = af571b3c60cea2a5975f6a394469f1c50266d4a5c5c91896b991b1b3ba8bc86e
+ optdepends = r-roxygen2
+ optdepends = r-testthat
+ source = https://cran.r-project.org/src/contrib/openxlsx_4.2.5.tar.gz
+ sha256sums = 65d06d2819b656ac30fc78437ee712a83fb5a7ab750f56268e5c9e578c582519
pkgname = r-openxlsx
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"
}