diff options
author | Alex Branham | 2018-06-07 14:00:35 -0500 |
---|---|---|
committer | Alex Branham | 2018-06-07 14:00:35 -0500 |
commit | 720953fa044bd8cf6321c84a2db1894ae5c993ce (patch) | |
tree | 7366aaf364b06cdff99a8b507a7b5296dc27c0c6 | |
download | aur-720953fa044bd8cf6321c84a2db1894ae5c993ce.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fdb05276a6e2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = r-openxlsx + pkgdesc = Read, Write and Edit XLSX Files + pkgver = 4.1.0 + pkgrel = 1 + url = https://cran.r-project.org/package=openxlsx + arch = x86_64 + license = MIT + depends = r + depends = r-zip + optdepends = r-knitr + optdepends = r-testthat + source = https://cran.r-project.org/src/contrib/openxlsx_4.1.0.tar.gz + md5sums = 5fdee62e96b0d176419cacb5f7a6e125 + +pkgname = r-openxlsx + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cfcaa82d422b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Alex Branham <branham@utexas.edu> +_cranname=openxlsx +_cranver=4.1.0 +_pkgtar=${_cranname}_${_cranver}.tar.gz +pkgname=r-openxlsx +pkgver=${_cranver//[:-]/.} +pkgrel=1 +pkgdesc="Read, Write and Edit XLSX Files" +arch=('x86_64') +url="https://cran.r-project.org/package=${_cranname}" +license=('MIT') +depends=('r' 'r-zip') + +optdepends=('r-knitr' 'r-testthat') + +source=("https://cran.r-project.org/src/contrib/${_pkgtar}") +md5sums=('5fdee62e96b0d176419cacb5f7a6e125') + +build(){ + R CMD INSTALL ${_pkgtar} -l $srcdir +} +package() { + install -d "$pkgdir/usr/lib/R/library" + cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library" +} + |