summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Branham2018-05-29 14:24:42 -0500
committerAlex Branham2018-05-29 14:24:42 -0500
commit9988a6c6c5f47f8fc56a8dfdac8bd0f07ba195eb (patch)
treed7020c923fb54e49bab6bd7c5d04ee51007ffda3
downloadaur-9988a6c6c5f47f8fc56a8dfdac8bd0f07ba195eb.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD26
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..161c2a489e1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = r-cellranger
+ pkgdesc = Translate Spreadsheet Cell Ranges to Rows and Columns
+ pkgver = 1.1.0
+ pkgrel = 1
+ url = https://cran.r-project.org/web/packages/cellranger/index.html
+ arch = any
+ license = MIT
+ depends = r
+ depends = r-rematch
+ depends = r-cran-tibble
+ optdepends = r-covr
+ optdepends = r-testthat
+ optdepends = r-knitr
+ optdepends = r-rmarkdown
+ source = https://cran.r-project.org/src/contrib/cellranger_1.1.0.tar.gz
+ md5sums = 1abcfea6af5ab2e277cb99e86880456f
+
+pkgname = r-cellranger
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..69da97e2a93
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Alex Branham <branham@utexas.edu>
+_cranname=cellranger
+_cranver=1.1.0
+_pkgtar=${_cranname}_${_cranver}.tar.gz
+pkgname=r-cellranger
+pkgver=${_cranver//[:-]/.}
+pkgrel=1
+pkgdesc="Translate Spreadsheet Cell Ranges to Rows and Columns"
+arch=('any')
+url="https://cran.r-project.org/web/packages/${_cranname}/index.html"
+license=('MIT')
+depends=('r' 'r-rematch' 'r-cran-tibble')
+
+optdepends=('r-covr' 'r-testthat' 'r-knitr' 'r-rmarkdown')
+
+source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
+md5sums=('1abcfea6af5ab2e277cb99e86880456f')
+
+build(){
+ R CMD INSTALL ${_pkgtar} -l $srcdir
+}
+package() {
+ install -d "$pkgdir/usr/lib/R/library"
+ cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
+}
+