~dricottone/pkgbuilds

ref: 4e8e4b562037fc0324aa2962cac0e4d3b7237088 pkgbuilds/r-tidyverse/PKGBUILD -rw-r--r-- 1.4 KiB
4e8e4b56Dominic Ricottone Added r-sass 1 year, 18 days ago
                                                                                
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
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: Pranav K Anupam <pranavanupam@yahoo.com>
# Contributor: Alex Branham <branham@utexas.edu>

_cranname=tidyverse
_cranver=2.0.0
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Easily Install and Load the 'Tidyverse'"
arch=(any)
url="https://cran.r-project.org/package=${_cranname}"
license=(MIT)
depends=('r>=3.3' 'r-broom>=1.0.3' 'r-conflicted>=1.2.0' 'r-cli>=3.6.0' 'r-dbplyr>=2.3.0' 'r-dplyr>=1.1.0' 'r-dtplyr>=1.2.2' 'r-forcats>=1.0.0' 'r-ggplot2>=3.4.1' 'r-googledrive>=2.0.0' 'r-googlesheets4>=1.0.1' 'r-haven>=2.5.1' 'r-hms>=1.1.2' 'r-httr>=1.4.4' 'r-jsonlite>=1.8.4' 'r-lubridate>=1.9.2' 'r-magrittr>=2.0.3' 'r-modelr>=0.1.10' 'r-pillar>=1.8.1' 'r-purrr>=1.0.1' 'r-ragg>=1.2.5' 'r-readr>=2.1.4' 'r-readxl>=1.4.2' 'r-reprex>=2.0.2' 'r-rlang>=1.0.6' 'r-rstudioapi>=0.14' 'r-rvest>=1.0.3' 'r-stringr>=1.5.0' 'r-tibble>=3.1.8' 'r-tidyr>=1.3.0' 'r-xml2>=1.3.3')
optdepends=(r-covr r-feather r-glue r-mockr r-knitr r-rmarkdown r-testthat)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
sha256sums=('3d3c2d135056333247d309d1c2cc98cc0d87e2c781f4c6fbceab28d28c0728e5')

build() {
  R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}"
}

package() {
  install -dm0755 "${pkgdir}/usr/lib/R/library"

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