summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2d02a0189151f0b76408dc4627e5bd001ce43439 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Alex Branham <branham@utexas.edu>
_cranname=zoo
_cranver=1.8-2
_pkgtar=${_cranname}_${_cranver}.tar.gz
pkgname=r-zoo
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="S3 Infrastructure for Regular and Irregular Time Series (Zs Ordered Observations)"
arch=('x86_64')
url="https://cran.r-project.org/package=${_cranname}"
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')

build(){
    R CMD INSTALL ${_pkgtar} -l $srcdir
}
package() {
    install -d "$pkgdir/usr/lib/R/library"
    cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
}