~dricottone/pkgbuilds

ref: 5c473508665c0852889f1183af26bc1390f631bc pkgbuilds/r-vroom/PKGBUILD -rw-r--r-- 1.1 KiB
5c473508Dominic Ricottone Added r-conflicted 1 year, 28 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
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com

_cranname=vroom
_cranver=1.6.4
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Read and Write Rectangular Text Data Quickly"
arch=(i686 x86_64)
url="https://cran.r-project.org/package=${_cranname}"
license=(MIT)
depends=('r>=3.4' r-bit64 'r-cli>=3.2.0' r-crayon r-glue r-hms 'r-lifecycle>=1.0.3' 'r-rlang>=0.4.2' 'r-tibble>=2.0.0' r-tidyselect 'r-tzdb>=0.1.1' 'r-vctrs>=0.2.0' r-withr 'r-cpp11>=0.2.0' 'r-progress>=1.2.1' r-methods r-stats)
optdepends=(r-archive r-bench r-covr r-curl r-dplyr r-forcats r-fs r-ggplot2 r-knitr r-patchwork r-prettyunits r-purrr r-rmarkdown r-rstudioapi r-scales r-spelling r-testthat r-tidyr r-waldo r-xml2 r-utils)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
sha256sums=('8d46f96b2621409838a5d0bfa86a70146cc31f375bf3c8f66b64bbdcc62ae24d')

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