blob: a8e70a2a5109af1084e8c5f92a093b4ea6cbfedf (
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
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=gt
_pkgver=0.11.1
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Easily Create Presentation-Ready Display Tables"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('MIT')
depends=(
r-base64enc
r-bigd
r-bitops
r-cli
r-commonmark
r-dplyr
r-fs
r-glue
r-htmltools
r-htmlwidgets
r-juicyjuice
r-magrittr
r-markdown
r-reactable
r-rlang
r-sass
r-scales
r-tidyselect
r-vctrs
r-xml2
)
optdepends=(
r-digest
r-fontawesome
r-ggplot2
r-gtable
r-katex
r-knitr
r-lubridate
r-magick
r-paletteer
r-rcolorbrewer
r-rmarkdown
r-rsvg
r-rvest
r-shiny
r-testthat
r-tidyr
r-webshot2
r-withr
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('9e3232ba6327accb0d514ededf74242c')
b2sums=('1fb9dd1dea6993fa308bb2297b48a792f5badc5c2d01e60ea73e7f3224e526430c5b4a5baf5847dcc4b31aed69d073acf325421ca62deaf0fbcefc4ba69163b6')
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"
install -d "$pkgdir/usr/share/licenses/$pkgname"
ln -s "/usr/lib/R/library/$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
}
|