summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 296aba81cdb8c8c9be0d9c407b95f506591383a9 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#Maintainer: sukanka <su975853527 AT gmail.com>
_pkgname=flexplot
_pkgver=0.21.4
pkgname=r-${_pkgname,,}
pkgver=0.21.4
pkgrel=1
pkgdesc="Graphically Based Data Analysis"
arch=('x86_64')
url="https://github.com/dustinfife/${_pkgname}"
license=('GPL2')
depends=(r
  	r-cowplot
	r-tibble
	r-withr
	r-dplyr
	r-magrittr
	r-forcats
	r-purrr
	r-plyr
	r-r6
	r-ggplot2
	r-patchwork
	r-ggsci
	r-lme4
	r-party
	r-rlang
)
makedepends=(r-jmvcore git)
optdepends=(
  	r-jmvcore
	r-vdiffr
	r-knitr
	r-testthat
	r-randomforest
	r-markdown
	r-papaja
	r-tidyverse
)
source=("git+https://github.com/dustinfife/${_pkgname}.git")
sha256sums=('SKIP')


build() {
  mkdir -p ${srcdir}/usr/lib/R/library
  R -e "install.packages('${srcdir}/${_pkgname}',\
     type='source', repos=NULL,lib='${srcdir}/usr/lib/R/library', INSTALL_opts='--no-multiarch --no-docs --no-test-load')"
}

package() {

  cp -a --no-preserve=ownership "${srcdir}/usr" "${pkgdir}"
}