diff options
author | Alex Branham | 2018-06-13 16:02:03 -0500 |
---|---|---|
committer | Alex Branham | 2018-06-13 16:02:03 -0500 |
commit | a899fa5bc03ca4724548b3afab40e9658d675b67 (patch) | |
tree | 4d01068d516ffa50225f34be138de852fd13256a | |
download | aur-a899fa5bc03ca4724548b3afab40e9658d675b67.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..18bd4e48db4f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = r-abind + pkgdesc = Combine Multidimensional Arrays + pkgver = 1.4.5 + pkgrel = 1 + url = https://cran.r-project.org/package=abind + arch = any + license = LGPL + depends = r + source = https://cran.r-project.org/src/contrib/abind_1.4-5.tar.gz + md5sums = 136f981e1c4f618b64a87faaa7797c97 + +pkgname = r-abind + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c6f5c3c21f8c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Alex Branham <branham@utexas.edu> +_cranname=abind +_cranver=1.4-5 +_pkgtar=${_cranname}_${_cranver}.tar.gz +pkgname=r-abind +pkgver=${_cranver//[:-]/.} +pkgrel=1 +pkgdesc="Combine Multidimensional Arrays" +arch=('any') +url="https://cran.r-project.org/package=${_cranname}" +license=('LGPL') +depends=('r' ) + + + +source=("https://cran.r-project.org/src/contrib/${_pkgtar}") +md5sums=('136f981e1c4f618b64a87faaa7797c97') + +build(){ + R CMD INSTALL ${_pkgtar} -l $srcdir +} +package() { + install -d "$pkgdir/usr/lib/R/library" + cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library" +} + |