summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
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"
+}
+