summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Branham2018-06-07 13:59:37 -0500
committerAlex Branham2018-06-07 13:59:37 -0500
commit1bbdc0077bec8151d7b14bbb0af9ddb9a8b48b9a (patch)
tree23467539f19c732ad5b10480151e4449318f9a9b
downloadaur-1bbdc0077bec8151d7b14bbb0af9ddb9a8b48b9a.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD26
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..15d60193e71
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = r-irlba
+ pkgdesc = Fast Truncated Singular Value Decomposition and Principal Components Analysis for Large Dense and Sparse Matrices
+ pkgver = 2.3.2
+ pkgrel = 1
+ url = https://cran.r-project.org/package=irlba
+ arch = x86_64
+ license = GPL3
+ depends = r
+ optdepends = r-pma
+ source = https://cran.r-project.org/src/contrib/irlba_2.3.2.tar.gz
+ md5sums = f710502b70e97abb9bdf3dba961769ed
+
+pkgname = r-irlba
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..878eee531e5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Alex Branham <branham@utexas.edu>
+_cranname=irlba
+_cranver=2.3.2
+_pkgtar=${_cranname}_${_cranver}.tar.gz
+pkgname=r-irlba
+pkgver=${_cranver//[:-]/.}
+pkgrel=1
+pkgdesc="Fast Truncated Singular Value Decomposition and Principal Components Analysis for Large Dense and Sparse Matrices"
+arch=('x86_64')
+url="https://cran.r-project.org/package=${_cranname}"
+license=('GPL3')
+depends=('r' )
+
+optdepends=('r-pma')
+
+source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
+md5sums=('f710502b70e97abb9bdf3dba961769ed')
+
+build(){
+ R CMD INSTALL ${_pkgtar} -l $srcdir
+}
+package() {
+ install -d "$pkgdir/usr/lib/R/library"
+ cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
+}
+