summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8bdd13a782f230e58db124ad5b2305100ccc55e4 (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
# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: frichtlm <frichtlm@gmail.com>
# Contributor: wagnerflo <florian@wagner-flo.net>

_cranname=tibble
_cranver=3.1.6
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Simple Data Frames"
arch=(i686 x86_64)
url="https://cran.r-project.org/package=${_cranname}"
license=(MIT)
depends=('r>=3.1.0' 'r-ellipsis>=0.3.2' 'r-fansi>=0.4.0' 'r-lifecycle>=1.0.0' r-magrittr 'r-pillar>=1.6.2' r-pkgconfig 'r-rlang>=0.4.3' 'r-vctrs>=0.3.8')
optdepends=(r-bench r-bit64 r-blob r-brio r-callr r-cli r-covr r-crayon r-diagrammer r-dplyr r-evaluate r-formattable r-ggplot2 r-hms r-htmltools r-knitr r-lubridate r-mockr r-nycflights13 r-pkgbuild r-pkgload r-purrr r-rmarkdown r-stringi r-testthat r-tidyr r-withr)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
sha256sums=('5b33d909f146ebad38e262f6a57cb91ab70bfe240c2af01004beec11b3898292')

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