summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Drobot2020-03-09 22:11:13 +0300
committerViktor Drobot2020-03-09 22:11:13 +0300
commit994b5465dc268bf85bd34bbd3c3c9015eea4689c (patch)
treed4e78f1aa08608bc9df50bd1c5a8ad134343e8af
parent523f8a1567945245b1a8d5844c92ae307b0eed46 (diff)
downloadaur-r-irlba.tar.gz
Fixed PKGBUILD
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD33
2 files changed, 23 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 15d60193e71..883936fe1f3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
pkgbase = r-irlba
pkgdesc = Fast Truncated Singular Value Decomposition and Principal Components Analysis for Large Dense and Sparse Matrices
- pkgver = 2.3.2
+ pkgver = 2.3.3
pkgrel = 1
url = https://cran.r-project.org/package=irlba
+ arch = i686
arch = x86_64
license = GPL3
+ makedepends = gcc
depends = r
- optdepends = r-pma
- source = https://cran.r-project.org/src/contrib/irlba_2.3.2.tar.gz
- md5sums = f710502b70e97abb9bdf3dba961769ed
+ source = https://cran.r-project.org/src/contrib/irlba_2.3.3.tar.gz
+ md5sums = a057237111263ad6afafa1b1a63be0e7
pkgname = r-irlba
diff --git a/PKGBUILD b/PKGBUILD
index b1ec61d461b..a8425e89de5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,30 @@
+# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: Ward Segers <w@rdsegers.be>
# Contributor: Alex Branham <branham@utexas.edu>
+
_cranname=irlba
-_cranver=2.3.2
-_pkgtar=${_cranname}_${_cranver}.tar.gz
-pkgname=r-irlba
+_cranver=2.3.3
+pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Fast Truncated Singular Value Decomposition and Principal Components Analysis for Large Dense and Sparse Matrices"
-arch=('x86_64')
+arch=(i686 x86_64)
url="https://cran.r-project.org/package=${_cranname}"
-license=('GPL3')
-depends=('r' )
-
-optdepends=('r-pma')
+license=(GPL3)
+depends=(r)
+makedepends=(gcc)
+source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
+md5sums=('a057237111263ad6afafa1b1a63be0e7')
-source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
-md5sums=('f710502b70e97abb9bdf3dba961769ed')
+build() {
+ cd "${srcdir}"
-build(){
- R CMD INSTALL ${_pkgtar} -l $srcdir
+ R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l ${srcdir}
}
+
package() {
- install -d "$pkgdir/usr/lib/R/library"
- cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
-}
+ cd "${srcdir}"
+ install -dm0755 "${pkgdir}/usr/lib/R/library"
+ cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
+}