updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / r-cran-coda / PKGBUILD
blobb5cae568876bd7abf3077bf9ff79f6d69f43659e
1 # Maintainer: Oleg Smirnov <oleg.smirnov@gmail.com>
2 pkgname=r-cran-coda
3 pkgver=0.14_2
4 pkgrel=1
5 pkgdesc="Output analysis and diagnostics for MCMC"
6 url="http://cran.r-project.org/web/packages/coda/index.html"
7 license=('GPL (>= 2)')
8 arch=('i686' 'x86_64')
9 makedepends=('gcc' 'gcc-fortran')
10 depends=('r' )
11 optdepends=()
12 source=(http://cran.r-project.org/src/contrib/coda_0.14-2.tar.gz)
13 build() {
14     mkdir -p ${pkgdir}/usr/lib/R/library
15     cd ${srcdir}
16     R CMD INSTALL coda -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}/coda/${lic} ]; then
20             install -Dm644 ${srcdir}/coda/${lic} ${pkgdir}/usr/share/licenses/r-cran-coda/${lic}
21         fi
22     done
24 md5sums=('d820a1420d5f39167e25c77eafafeb24')