summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Drobot2020-04-04 15:27:39 +0300
committerViktor Drobot2020-04-04 15:27:39 +0300
commit0aab68c828ac8ee59bcb9de6e41baa64a5805a71 (patch)
treed19b6bf2b11a3702f568af02be4428d2eb7694b7
parent4e961c334abdda7f688d15ba744ab3e595302777 (diff)
downloadaur-0aab68c828ac8ee59bcb9de6e41baa64a5805a71.tar.gz
Update 4.1.4
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD38
2 files changed, 30 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 221450f78bc..b648e77c53c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,21 @@
pkgbase = r-openxlsx
- pkgdesc = Read, Write and Edit XLSX Files
- pkgver = 4.1.0
+ pkgdesc = Read, Write and Edit xlsx Files
+ pkgver = 4.1.4
pkgrel = 1
url = https://cran.r-project.org/package=openxlsx
+ arch = i686
arch = x86_64
license = MIT
- depends = r
+ makedepends = gcc
+ depends = r>=3.3.0
depends = r-rcpp
depends = r-zip
+ depends = r-stringi
optdepends = r-knitr
optdepends = r-testthat
- source = https://cran.r-project.org/src/contrib/openxlsx_4.1.0.tar.gz
- md5sums = 5fdee62e96b0d176419cacb5f7a6e125
+ optdepends = r-roxygen2
+ source = https://cran.r-project.org/src/contrib/openxlsx_4.1.4.tar.gz
+ md5sums = 9695e4f790c3c543967d867f1b26bba3
pkgname = r-openxlsx
diff --git a/PKGBUILD b/PKGBUILD
index 069b5d35bbe..83e82260e64 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,30 @@
-# Maintainer: Alex Branham <branham@utexas.edu>
+# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
+# Contributor: Alex Branham <branham@utexas.edu>
+
_cranname=openxlsx
-_cranver=4.1.0
-_pkgtar=${_cranname}_${_cranver}.tar.gz
-pkgname=r-openxlsx
+_cranver=4.1.4
+pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
-pkgdesc="Read, Write and Edit XLSX Files"
-arch=('x86_64')
+pkgdesc="Read, Write and Edit xlsx Files"
+arch=(i686 x86_64)
url="https://cran.r-project.org/package=${_cranname}"
-license=('MIT')
-depends=('r' 'r-rcpp' 'r-zip')
-
-optdepends=('r-knitr' 'r-testthat')
+license=(MIT)
+depends=('r>=3.3.0' r-rcpp r-zip r-stringi)
+makedepends=(gcc)
+optdepends=(r-knitr r-testthat r-roxygen2)
+source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
+md5sums=('9695e4f790c3c543967d867f1b26bba3')
-source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
-md5sums=('5fdee62e96b0d176419cacb5f7a6e125')
+build() {
+ cd "${srcdir}"
-build(){
- R CMD INSTALL ${_pkgtar} -l $srcdir
+ R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l ${srcdir}
}
+
package() {
- install -d "$pkgdir/usr/lib/R/library"
- cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
-}
+ cd "${srcdir}"
+ install -dm0755 "${pkgdir}/usr/lib/R/library"
+ cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
+}