summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 11d08b7fcdf50674ab2e89a240812b10771f5bae (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>

_pkgname=dartR
_pkgver=2.9.7
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Importing and Analysing 'SNP' and 'Silicodart' Data Generated by Genome-Wide Restriction Fragment Analysis"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-or-later')
depends=(
  r-adegenet
  r-ape
  r-crayon
  r-dartr.data
  r-data.table
  r-dplyr
  r-fields
  r-foreach
  r-ggplot2
  r-gridextra
  r-patchwork
  r-plyr
  r-popgenreport
  r-raster
  r-reshape2
  r-shiny
  r-snprelate
  r-sp
  r-stampp
  r-stringr
  r-tidyr
  r-vegan
)
optdepends=(
  r-devtools
  r-directlabels
  r-dismo
  r-doparallel
  r-expm
  r-gdistance
  r-gganimate
  r-ggrepel
  r-ggtern
  r-ggthemes
  r-gplots
  r-gtable
  r-hardyweinberg
  r-hierfstat
  r-igraph
  r-iterpc
  r-knitr
  r-label.switching
  r-leaflet
  r-leaflet.minicharts
  r-markdown
  r-mmod
  r-networkd3
  r-pegas
  r-pheatmap
  r-plotly
  r-poppr
  r-proxy
  r-purrr
  r-qvalue
  r-rcolorbrewer
  r-rcpp
  r-rgl
  r-rmarkdown
  r-rrblup
  r-scales
  r-seqinr
  r-shinybs
  r-shinyjs
  r-shinythemes
  r-shinywidgets
  r-siber
  r-snpstats
  r-stringi
  r-terra
  r-testthat
  r-tibble
  r-vcfr
  r-viridis
  r-zoo
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('f76ad45d41f4c304d19d3f7258362549')
b2sums=('6080154deb2c5a75e43fec5ed5c9c03f0f63bd62439232dd7d3c671faae61ccef4d94edac4c49903746618c00d368bd3525f2c9381bfbed5e657d226ffcaeb82')

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"
}