updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / r-cran-msbvar / PKGBUILD
blob6a2a476b9449779af8272940961c8145d8a6ebf7
1 # Maintainer: Oleg Smirnov <oleg.smirnov@gmail.com>
2 pkgname=r-cran-msbvar
3 pkgver=0.6_0
4 pkgrel=1
5 pkgdesc="Markov-Switching, Bayesian, Vector Autoregression Models"
6 url="http://cran.r-project.org/web/packages/MSBVAR/index.html"
7 license=('GPL (>= 2)')
8 arch=('i686' 'x86_64')
9 makedepends=('gcc' 'gcc-fortran')
10 depends=('r' 'r-cran-xtable' 'r-cran-bit' 'r-cran-mvtnorm' 'r-cran-coda')
11 optdepends=()
12 source=(http://cran.r-project.org/src/contrib/MSBVAR_0.6-0.tar.gz)
13 build() {
14     mkdir -p ${pkgdir}/usr/lib/R/library
15     cd ${srcdir}
16     R CMD INSTALL MSBVAR -l ${pkgdir}/usr/lib/R/library
17     rm -f ${pkgdir}/usr/lib/R/library/R.css
18     for lic in "LICENSE" "LICENCE" "COPYING"; do
19         if [ -f ${srcdir}/MSBVAR/${lic} ]; then
20             install -Dm644 ${srcdir}/MSBVAR/${lic} ${pkgdir}/usr/share/licenses/r-cran-msbvar/${lic}
21         fi
22     done
24 md5sums=('275674ed88a314e76bd33b2daf6de70e')