diff options
author | Alex Branham | 2018-09-25 10:24:10 -0500 |
---|---|---|
committer | Alex Branham | 2018-09-25 10:24:10 -0500 |
commit | cb16c59cacd3a31438928f5bd0fcb4f6979efc81 (patch) | |
tree | 5451600a845717edfbdb06cee6f410bcaff483d7 /PKGBUILD | |
parent | cb601cfcd6748c12251daec88c743ea6e85a63e4 (diff) | |
download | aur-cb16c59cacd3a31438928f5bd0fcb4f6979efc81.tar.gz |
Upkg 0.999.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 9 insertions, 13 deletions
@@ -1,27 +1,23 @@ -# Maintainer: Alex Branham <branham@utexas.edu> -_cranname=expm -_cranver=0.999-2 -_pkgtar=${_cranname}_${_cranver}.tar.gz +# Maintainer: Alex Branham <alex.branham@gmail.com> +_cranver=0.999-3 pkgname=r-expm pkgver=${_cranver//[:-]/.} pkgrel=1 -pkgdesc="Matrix Exponential, Log, etc" +pkgdesc='Matrix Exponential, Log, etc' arch=('x86_64') -url="https://cran.r-project.org/package=${_cranname}" +url='https://cran.r-project.org/package=expm' license=('GPL') depends=('r' ) - optdepends=('r-rcolorbrewer' 'r-sfsmisc' 'r-rmpfr') - -source=("https://cran.r-project.org/src/contrib/${_pkgtar}") -md5sums=('e05fa3f995754af92bd03227625da984') replaces=('r-cran-expm') +source=("https://cran.r-project.org/src/contrib/expm_"$_cranver".tar.gz") +md5sums=('5c0f7500dd129d1a5262eadd92555c7c') build(){ - R CMD INSTALL ${_pkgtar} -l $srcdir + R CMD INSTALL expm_"$_cranver".tar.gz -l "$srcdir" } package() { - install -d "$pkgdir/usr/lib/R/library" - cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library" + install -dm0755 "$pkgdir"/usr/lib/R/library + cp -a --no-preserve=ownership expm "$pkgdir"/usr/lib/R/library } |