summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a92380fcb4bf04e4701dd966a6990f743cd43cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: frichtlm <frichtlm@gmail.com>

_cranname=broom
_cranver=0.5.5
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Convert Statistical Analysis Objects into Tidy Tibbles"
arch=(any)
url="https://cran.r-project.org/package=${_cranname}"
license=(MIT)
depends=('r>=3.1' r-backports r-dplyr 'r-generics>=0.0.2' r-nlme r-purrr r-reshape2 r-stringr r-tibble r-tidyr)
optdepends=(r-aer r-akima r-auc r-bbmle r-betareg r-biglm r-bingroup r-boot r-brms r-car r-caret r-coda r-covr r-e1071 r-emmeans r-ergm r-gam r-gamlss r-gamlss.data r-gamlss.dist r-geepack r-ggplot2 r-glmnet r-gmm r-hmisc r-irlba r-kendall r-knitr r-ks r-lahman r-lavaan r-lfe r-lme4 r-lmodel2 r-lmtest r-lsmeans r-maps r-maptools r-mclust r-mgcv r-muhaz r-multcomp r-network r-nnet r-orcutt r-ordinal r-plm r-plyr r-polca r-psych r-quantreg r-rgeos r-rmarkdown r-rsample r-rstan r-rstanarm r-sp r-speedglm r-statnet.common r-survey r-survival r-testthat r-tseries r-zoo)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
md5sums=('0c9ed3c2beb3a812712ccd7a5ae45ac6')

build() {
  cd "${srcdir}"

  R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l ${srcdir}
}

package() {
  cd "${srcdir}"

  install -dm0755 "${pkgdir}/usr/lib/R/library"
  cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
}