# Maintainer: Ward Segers # Contributor: Alex Branham # Contributor: Robert Greener _cranver=1.7-11 pkgname=r-e1071 pkgver=${_cranver//[:-]/.} pkgrel=1 pkgdesc='Functions for latent class analysis, short time Fourier transform, fuzzy clustering, support vector machines, shortest path computation, bagged clustering, naive Bayes classifier, ...' arch=('x86_64') url='https://cran.r-project.org/web/packages/e1071' license=('GPL') depends=('r' 'r-proxy') replaces=('r-cran-e1071') source=("https://cran.r-project.org/src/contrib/e1071_"$_cranver".tar.gz") sha512sums=('918c84812b9cdf5b2b9179810366672d21c6cfbac8b5644af326af4f3e30754bc1308de29f6c16d021c651ee46ce0ce80cae093b589b8cf7df5c2aa53bf669ea') build(){ R CMD INSTALL e1071_"$_cranver".tar.gz -l "$srcdir" } package() { install -dm0755 "$pkgdir"/usr/lib/R/library cp -a --no-preserve=ownership e1071 "$pkgdir"/usr/lib/R/library }