diff options
author | BioArchLinuxBot | 2023-10-16 18:04:14 +0000 |
---|---|---|
committer | BioArchLinuxBot | 2023-10-16 18:04:14 +0000 |
commit | 7e24e7d5fb335331bc11f20299e8ba139efe03dd (patch) | |
tree | 359067bb886fca57028d080ca1096f837bc779fe | |
parent | ddda39d8cff714d2bacebd5ad487897490b89887 (diff) | |
download | aur-7e24e7d5fb335331bc11f20299e8ba139efe03dd.tar.gz |
[lilac] updated to 0.9.4-2
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 27 insertions, 13 deletions
@@ -1,11 +1,13 @@ pkgbase = r-ggrepel pkgdesc = Automatically Position Non-Overlapping Text Labels with 'ggplot2' pkgver = 0.9.4 - pkgrel = 1 + pkgrel = 2 url = https://cran.r-project.org/package=ggrepel arch = x86_64 - license = GPL - depends = r + license = GPL3 + checkdepends = r-testthat + checkdepends = r-vdiffr + checkdepends = ttf-font depends = r-ggplot2 depends = r-rcpp depends = r-rlang @@ -25,6 +27,7 @@ pkgbase = r-ggrepel optdepends = r-testthat optdepends = r-vdiffr source = https://cran.r-project.org/src/contrib/ggrepel_0.9.4.tar.gz + md5sums = 80614592620fcaa8a11f99995ecec94b sha256sums = 81abb47270593709587480ffbc88dce3d3f695bd6f1164729311b37c50d7cf3e pkgname = r-ggrepel @@ -1,23 +1,28 @@ -# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> +# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com> +# Contributor: Guoyi Zhang <guoyizhang at malacology dot net> # Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com _pkgname=ggrepel _pkgver=0.9.4 pkgname=r-${_pkgname,,} -pkgver=0.9.4 -pkgrel=1 +pkgver=${_pkgver//-/.} +pkgrel=2 pkgdesc="Automatically Position Non-Overlapping Text Labels with 'ggplot2'" -arch=('x86_64') +arch=(x86_64) url="https://cran.r-project.org/package=${_pkgname}" -license=('GPL') +license=(GPL3) depends=( - r r-ggplot2 r-rcpp r-rlang r-scales r-withr ) +checkdepends=( + r-testthat + r-vdiffr + ttf-font +) optdepends=( r-devtools r-dplyr @@ -34,14 +39,20 @@ optdepends=( r-vdiffr ) source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +md5sums=('80614592620fcaa8a11f99995ecec94b') sha256sums=('81abb47270593709587480ffbc88dce3d3f695bd6f1164729311b37c50d7cf3e') build() { - R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" + mkdir -p build + R CMD INSTALL "$_pkgname" -l build +} + +check() { + cd "$_pkgname/tests" + R_LIBS="$srcdir/build" NOT_CRAN=true Rscript --vanilla testthat.R } package() { - install -dm0755 "${pkgdir}/usr/lib/R/library" - cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" + install -d "$pkgdir/usr/lib/R/library" + cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library" } -# vim:set ts=2 sw=2 et: |