updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / r-cran-distr / PKGBUILD
blob9a059375d0f9f0f7726158a538f8f88ec2bb576f
1 # Maintainer: Oleg Smirnov <oleg.smirnov@gmail.com>
2 pkgname=r-cran-distr
3 pkgver=2.3
4 pkgrel=1
5 pkgdesc="Object oriented implementation of distributions"
6 url="http://cran.r-project.org/web/packages/distr/index.html"
7 license=('LGPL-3')
8 arch=('i686' 'x86_64')
9 makedepends=('gcc' 'gcc-fortran')
10 depends=('r' 'r-cran-startupmsg' 'r-cran-sfsmisc' 'r-cran-sweavelistingutils')
11 optdepends=('r-cran-distrex' 'r-cran-sweavelistingutils')
12 source=(http://cran.r-project.org/src/contrib/distr_2.3.tar.gz)
13 build() {
14     mkdir -p ${pkgdir}/usr/lib/R/library
15     cd ${srcdir}
16     R CMD INSTALL distr -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}/distr/${lic} ]; then
20             install -Dm644 ${srcdir}/distr/${lic} ${pkgdir}/usr/share/licenses/r-cran-distr/${lic}
21         fi
22     done
24 md5sums=('8b6ec5f06763655b72d4e2a0a75507cd')