diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 8 insertions, 12 deletions
@@ -1,26 +1,22 @@ # Maintainer: Alex Branham <branham@utexas.edu> -_cranname=zoo -_cranver=1.8-2 -_pkgtar=${_cranname}_${_cranver}.tar.gz +_cranver=1.8-3 pkgname=r-zoo pkgver=${_cranver//[:-]/.} pkgrel=1 -pkgdesc="S3 Infrastructure for Regular and Irregular Time Series (Zs Ordered Observations)" +pkgdesc='S3 Infrastructure for Regular and Irregular Time Series (Zs Ordered Observations)' arch=('x86_64') -url="https://cran.r-project.org/package=${_cranname}" +url='https://cran.r-project.org/package=zoo' license=('GPL') depends=('r' ) - optdepends=('r-coda' 'r-chron' 'r-daag' 'r-fts' 'r-ggplot2' 'r-mondate' 'r-scales' 'r-strucchange' 'r-timedate' 'r-timeseries' 'r-tis' 'r-tseries' 'r-xts') - -source=("https://cran.r-project.org/src/contrib/${_pkgtar}") -md5sums=('ca22a37a4b1a32ef9beeead47b2751f4') +source=("https://cran.r-project.org/src/contrib/zoo_"$_cranver".tar.gz") +md5sums=('ea6fdac42e5109700dd502e667407e0a') build(){ - R CMD INSTALL ${_pkgtar} -l $srcdir + R CMD INSTALL zoo_"$_cranver".tar.gz -l "$srcdir" } package() { - install -d "$pkgdir/usr/lib/R/library" - cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library" + install -d "$pkgdir"/usr/lib/R/library + cp -a --no-preserve=ownership zoo "$pkgdir"/usr/lib/R/library } |