updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / r-cran-depmix / PKGBUILD
blob48bef16fb4d25c8616b24715f20d7d5ece18d9dc
1 # Maintainer: Oleg Smirnov <oleg.smirnov@gmail.com>
2 pkgname=r-cran-depmix
3 pkgver=0.9.8
4 pkgrel=1
5 pkgdesc="Dependent Mixture Models"
6 url="http://cran.r-project.org/web/packages/depmix/index.html"
7 license=('GPL')
8 arch=('i686' 'x86_64')
9 makedepends=('gcc' 'gcc-fortran')
10 depends=('r' )
11 optdepends=('r-cran-rdonlp2')
12 source=(http://cran.r-project.org/src/contrib/depmix_0.9.8.tar.gz)
13 build() {
14     mkdir -p ${pkgdir}/usr/lib/R/library
15     cd ${srcdir}
16     R CMD INSTALL depmix -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}/depmix/${lic} ]; then
20             install -Dm644 ${srcdir}/depmix/${lic} ${pkgdir}/usr/share/licenses/r-cran-depmix/${lic}
21         fi
22     done
24 md5sums=('e4238bc8ae3152d621041bbe3306e73d')