summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a01d7e3767117fb15faa6b8dfbd56215dbd5a844 (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: Alex Branham <branham@utexas.edu>
_cranname=dbplyr
_cranver=1.2.1
_pkgtar=${_cranname}_${_cranver}.tar.gz
pkgname=r-dbplyr
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="A dplyr Back End for Databases"
arch=('any')
url="https://cran.r-project.org/package=${_cranname}"
license=('MIT')
depends=('r' 'r-assertthat' 'r-dbi' 'r-dplyr' 'r-glue' 'r-purrr' 'r-rlang' 'r-tibble' 'r-tidyselect')

optdepends=('r-bit64' 'r-covr' 'r-knitr' 'r-lahman' 'r-nycflights13' 'r-rmarkdown' 'r-testthat')

source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
md5sums=('3132707768f771374209ae65fd9055de')

build(){
    R CMD INSTALL ${_pkgtar} -l $srcdir
}
package() {
    install -d "$pkgdir/usr/lib/R/library"
    cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
}