~dricottone/pkgbuilds

ref: bee6751b9659843df34ccfd4d5b16e98781dee24 pkgbuilds/r-tibble/PKGBUILD -rw-r--r-- 1.2 KiB
bee6751bDominic Ricottone Added r-colorspace 1 year, 29 days 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
27
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: frichtlm <frichtlm@gmail.com>
# Contributor: wagnerflo <florian@wagner-flo.net>

_cranname=tibble
_cranver=3.2.1
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.4.0' 'r-fansi>=0.4.0' 'r-lifecycle>=1.0.0' r-magrittr 'r-pillar>=1.8.1' r-pkgconfig 'r-rlang>=1.0.2' 'r-vctrs>=0.4.2' r-methods r-utils)
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 r-here)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
sha256sums=('65a72d0c557fd6e7c510d150c935ed6ced5db7d05fc20236b370f11428372131')

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