~dricottone/pkgbuilds

ref: 4e8e4b562037fc0324aa2962cac0e4d3b7237088 pkgbuilds/r-dtplyr/PKGBUILD -rw-r--r-- 956 bytes
4e8e4b56Dominic Ricottone Added r-sass 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: Pranav K Anupam <pranavanupam@yahoo.com>

_cranname=dtplyr
_cranver=1.3.1
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Data Table Back-End for 'dplyr'"
arch=(any)
url="https://cran.r-project.org/package=${_cranname}"
license=(MIT)
depends=('r>=3.3' 'r-cli>=3.4.0' 'r-data.table>=1.13.0' 'r-dplyr>=1.1.0' r-glue r-lifecycle 'r-rlang>=1.0.4' r-tibble 'r-tidyselect>=1.2.0' 'r-vctrs>=0.4.1')
optdepends=(r-bench r-covr r-knitr r-rmarkdown r-testthat r-tidyr r-waldo)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
sha256sums=('a5a9689a640b8bd1274519af220c33deaa3919654acac4ebdff1ff365cc8d6e5')

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