summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Branham2018-05-29 14:23:17 -0500
committerAlex Branham2018-05-29 14:23:17 -0500
commitb10815a653d9645583ee36592cc4bd839ef2522a (patch)
tree018f0055ea27277d4722c01fa48280e0ded5a37e
downloadaur-b10815a653d9645583ee36592cc4bd839ef2522a.tar.gz
Initial commit
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD26
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..df839a6bdee
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = r-readxl
+ pkgdesc = Read Excel Files
+ pkgver = 1.1.0
+ pkgrel = 1
+ url = https://cran.r-project.org/web/packages/readxl/index.html
+ arch = any
+ license = GPL3
+ depends = r
+ depends = r-cellranger
+ depends = r-cran-tibble
+ optdepends = r-covr
+ optdepends = r-knitr
+ optdepends = r-rmarkdown
+ optdepends = r-rprojroot
+ optdepends = r-testthat
+ source = https://cran.r-project.org/src/contrib/readxl_1.1.0.tar.gz
+ md5sums = 0537e13fae3fc490b2fd1bf44c0dad9b
+
+pkgname = r-readxl
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..49fda4dc716
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Alex Branham <branham@utexas.edu>
+_cranname=readxl
+_cranver=1.1.0
+_pkgtar=${_cranname}_${_cranver}.tar.gz
+pkgname=r-readxl
+pkgver=${_cranver//[:-]/.}
+pkgrel=1
+pkgdesc="Read Excel Files"
+arch=('any')
+url="https://cran.r-project.org/web/packages/${_cranname}/index.html"
+license=('GPL3')
+depends=('r' 'r-cellranger' 'r-cran-tibble')
+
+optdepends=('r-covr' 'r-knitr' 'r-rmarkdown' 'r-rprojroot' 'r-testthat')
+
+source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
+md5sums=('0537e13fae3fc490b2fd1bf44c0dad9b')
+
+build(){
+ R CMD INSTALL ${_pkgtar} -l $srcdir
+}
+package() {
+ install -d "$pkgdir/usr/lib/R/library"
+ cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
+}
+