summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Branham2018-06-13 15:07:29 -0500
committerAlex Branham2018-06-13 15:07:29 -0500
commitffb43a7c2d83acec7a7b65b7176bc2ff1639c7ea (patch)
treec36521cc045d3b418b1a20b02dec33cc7e6bb359
downloadaur-ffb43a7c2d83acec7a7b65b7176bc2ff1639c7ea.tar.gz
Initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD26
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..916ddc44c05
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = r-prodlim
+ pkgdesc = Product-Limit Estimation for Censored Event History Analysis
+ pkgver = 2018.04.18
+ pkgrel = 1
+ url = https://cran.r-project.org/package=prodlim
+ arch = x86_64
+ license = GPL
+ depends = r
+ depends = r-rcpp>=0.11.5
+ depends = r-lava
+ source = https://cran.r-project.org/src/contrib/prodlim_2018.04.18.tar.gz
+ md5sums = 897e215d6029fc29dcbd9f1c2b757343
+
+pkgname = r-prodlim
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..386a1824cc9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Alex Branham <branham@utexas.edu>
+_cranname=prodlim
+_cranver=2018.04.18
+_pkgtar=${_cranname}_${_cranver}.tar.gz
+pkgname=r-prodlim
+pkgver=${_cranver//[:-]/.}
+pkgrel=1
+pkgdesc="Product-Limit Estimation for Censored Event History Analysis"
+arch=('x86_64')
+url="https://cran.r-project.org/package=${_cranname}"
+license=('GPL')
+depends=('r' 'r-rcpp>=0.11.5' 'r-lava')
+
+
+
+source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
+md5sums=('897e215d6029fc29dcbd9f1c2b757343')
+
+build(){
+ R CMD INSTALL ${_pkgtar} -l $srcdir
+}
+package() {
+ install -d "$pkgdir/usr/lib/R/library"
+ cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
+}
+