summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a67ef9ff2a15f6146bcb36b803ef226210c459fe (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
# Maintainer: Serene-Arc <https://aur.archlinux.org/account/serene-arc>

_cranname=multidplyr
_cranver=0.1.3
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Partition a data frame across multiple worker processes to provide simple multicore parallelism."
arch=('any')
url="https://cran.r-project.org/package=${_cranname}"
license=('GPL')
depends=(
    r
    r-dplyr
    r-cli
    r-crayon
    r-tibble
    r-tidyselect
    r-vctrs
    r-qs
)
makedepends=()
optdepends=()
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
sha256sums=('92b75ed45e39d0525357e916d7a96e44cd943494670267621f8ea3173411d4a3')

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