summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2aba3f6fe5a0ac2ce52d8e5a3c2cc896abe5d741 (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
# Maintainer: Pranav K Anupam <pranavanupam@yahoo.com>
_cranname=dtplyr
_cranver=1.1.0
_pkgtar=${_cranname}_${_cranver}.tar.gz
pkgname=r-dtplyr
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Provides a data.table backend for 'dplyr'"
arch=('any')
url="https://cran.r-project.org/package=${_cranname}"
license=('GPL3' 'custom')
depends=('r>=3.3' 'r-crayon' 'r-data.table>=1.12.4' 'r-dplyr>=1.0.3' 'r-ellipsis' 'r-glue' 'r-lifecycle' 'r-rlang' 'r-tibble' 'r-tidyselect' 'r-vctrs')

optdepends=('r-bench' 'r-covr' 'r-knitr' 'r-rmarkdown' 'r-testthat' 'r-tidyr')
sha256sums=('99681b7285d7d5086e5595ca6bbeebf7f4e2ee358a32b694cd9d35916cdfc732')
source=("https://cran.r-project.org/src/contrib/${_pkgtar}")

build(){
cd "${srcdir}"
R CMD INSTALL ${_pkgtar} -l ${srcdir}
}
package() {
cd "${scrdir}"
install -dm0755 "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
}