blob: 1da9b1915afca642ee6412d4580bae23566d1864 (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
# Contributor: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=gap
_pkgver=1.6
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Genetic Analysis Package"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r-dplyr
r-gap.datasets
r-ggplot2
r-plotly
r-rdpack
)
makedepends=(
gcc-fortran
)
optdepends=(
r-bdsmatrix
r-bookdown
r-bradleyterry2
r-calibrate
r-circlize
r-coda
r-cowplot
r-coxme
r-diagrammer
r-dot
r-genetics
r-haplo.stats
r-htmlwidgets
r-jsonlite
r-kinship2
r-knitr
r-magic
r-manhattanly
r-matrixstats
r-mcmcglmm
r-meta
r-metafor
r-pedigree
r-pedigreemm
r-plotrix
r-r2jags
r-readr
r-reshape
r-rmarkdown
r-rms
r-valr
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('47bc96f1e9ef81b400f407a2a4cfed47')
b2sums=('ae722ee981c8a173037fd1121baf3c8cf3ab4c9be0c04eae7dfd064a297452fb67e11ed508a64173f466b22f0f94f0f85554f42b1bb784f931a533c3d4371c35')
build() {
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
}
|