~dricottone/pkgbuilds

ref: b305d10288f610216558f8dd2d94b3558d2302a7 pkgbuilds/r-dplyr/PKGBUILD -rw-r--r-- 1.1 KiB
b305d102Dominic Ricottone Added r-htmltools 11 months 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
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: frichtlm <frichtlm@gmail.com>

_cranname=dplyr
_cranver=1.1.4
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="A Grammar of Data Manipulation"
arch=(i686 x86_64)
url="https://cran.r-project.org/package=${_cranname}"
license=(MIT)
depends=('r>=3.5.0' 'r-cli>=3.4.0' r-generics 'r-glue>=1.3.2' 'r-lifecycle>=1.0.3' 'r-magrittr>=1.5' 'r-pillar>=1.9.0' r-r6 'r-rlang>=1.1.0' 'r-tibble>=3.2.0' 'r-tidyselect>=1.2.0' 'r-vctrs>=0.6.0' r-methods r-utils)
optdepends=(r-bench r-broom r-callr r-covr r-dbi r-dbplyr r-ggplot2 r-knitr r-lahman r-lobstr r-microbenchmark r-nycflights13 r-purrr r-rmarkdown r-rmysql r-rpostgresql r-rsqlite r-stringi r-testthat r-tidyr r-withr)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
sha256sums=('cf730414d5d4ab387b4e9890a4b1df9d17a3903488e8da8df1cf2e11e44558cb')

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