diff options
author | Alex Branham | 2018-08-02 12:01:02 -0500 |
---|---|---|
committer | Alex Branham | 2018-08-02 12:01:02 -0500 |
commit | 8c7d09b67420a6d2ead74bb00bdfaa8351fad9c8 (patch) | |
tree | 0272ae2547dc3c741a496297772a7da49c92bf6a | |
parent | 6e9b821ccd5c5b2040e9ebab311e91fbcf8a2edc (diff) | |
download | aur-8c7d09b67420a6d2ead74bb00bdfaa8351fad9c8.tar.gz |
Add missing depends r-ttr
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 8 insertions, 11 deletions
@@ -8,6 +8,7 @@ pkgbase = r-quantmod depends = r depends = r-xts>=0.9.0 depends = r-zoo + depends = r-ttr>=0.2 depends = r-curl optdepends = r-dbi optdepends = r-rmysql @@ -1,26 +1,22 @@ # Maintainer: Alex Branham <branham@utexas.edu> -_cranname=quantmod _cranver=0.4-13 -_pkgtar=${_cranname}_${_cranver}.tar.gz pkgname=r-quantmod pkgver=${_cranver//[:-]/.} pkgrel=1 -pkgdesc="Quantitative Financial Modelling Framework" +pkgdesc='Quantitative Financial Modelling Framework' arch=('any') -url="https://cran.r-project.org/package=${_cranname}" +url='https://cran.r-project.org/package=quantmod' license=('GPL3') -depends=('r' 'r-xts>=0.9.0' 'r-zoo' 'r-curl') - +depends=('r' 'r-xts>=0.9.0' 'r-zoo' 'r-ttr>=0.2' 'r-curl') optdepends=('r-dbi' 'r-rmysql' 'r-rsqlite' 'r-timeseries' 'r-xml' 'r-downloader' 'r-jsonlite') - -source=("https://cran.r-project.org/src/contrib/${_pkgtar}") +source=("https://cran.r-project.org/src/contrib/quantmod_"$_cranver".tar.gz") md5sums=('3b9eb2762cc25a461bb981c238f92ef8') build(){ - R CMD INSTALL ${_pkgtar} -l $srcdir + R CMD INSTALL quantmod_"$_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 quantmod "$pkgdir"/usr/lib/R/library } |