diff options
author | Viktor Drobot | 2020-04-04 15:27:39 +0300 |
---|---|---|
committer | Viktor Drobot | 2020-04-04 15:27:39 +0300 |
commit | 0aab68c828ac8ee59bcb9de6e41baa64a5805a71 (patch) | |
tree | d19b6bf2b11a3702f568af02be4428d2eb7694b7 | |
parent | 4e961c334abdda7f688d15ba744ab3e595302777 (diff) | |
download | aur-0aab68c828ac8ee59bcb9de6e41baa64a5805a71.tar.gz |
Update 4.1.4
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 30 insertions, 22 deletions
@@ -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 @@ -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" +} |