updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / r-cran-mix / PKGBUILD
blob3d3bc5d0bb79e1942d3849a1e33ff545e0012099
1 # Maintainer: Oleg Smirnov <oleg.smirnov@gmail.com>
2 pkgname=r-cran-mix
3 pkgver=1.0_8
4 pkgrel=1
5 pkgdesc="Estimation/multiple imputation programs for mixed categorical and continuous data"
6 url="http://cran.r-project.org/web/packages/mix/index.html"
7 license=('custom')
8 arch=('i686' 'x86_64')
9 makedepends=('gcc-fortran')
10 depends=('r')
11 source=(http://cran.r-project.org/src/contrib/mix_1.0-8.tar.gz)
12 build() {
13     mkdir -p ${pkgdir}/usr/lib/R/library
14     cd ${srcdir}
15     R CMD INSTALL mix -l ${pkgdir}/usr/lib/R/library
16     rm -f ${pkgdir}/usr/lib/R/library/R.css
17     if [ -f ${srcdir}/mix/LICENSE ]; then
18          mkdir -p ${pkgdir}/usr/share/licenses/r-cran-mix
19          install -m 644 ${srcdir}/mix/LICENSE ${pkgdir}/usr/share/licenses/r-cran-mix
20     elif [ -f ${srcdir}/mix/LICENCE ]; then
21          mkdir -p ${pkgdir}/usr/share/licenses/r-cran-mix
22          install -m 644 ${srcdir}/mix/LICENCE ${pkgdir}/usr/share/licenses/r-cran-mix
23     fi
25 md5sums=('541aa615c1cc5845cd1352682f6c3ef0')