mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
40 lines
970 B
Bash
40 lines
970 B
Bash
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
|
|
# Contributor: Guoyi Zhang <guoyizhang at malacology dot net>
|
|
|
|
_pkgname=ggfun
|
|
_pkgver=0.1.8
|
|
pkgname=r-${_pkgname,,}
|
|
pkgver=${_pkgver//-/.}
|
|
pkgrel=1
|
|
pkgdesc="Miscellaneous Functions for 'ggplot2'"
|
|
arch=(any)
|
|
url="https://cran.r-project.org/package=$_pkgname"
|
|
license=('Artistic-2.0')
|
|
depends=(
|
|
r-cli
|
|
r-dplyr
|
|
r-ggplot2
|
|
r-rlang
|
|
r-yulab.utils
|
|
)
|
|
optdepends=(
|
|
r-ggnewscale
|
|
r-ggplotify
|
|
r-knitr
|
|
r-prettydoc
|
|
r-rmarkdown
|
|
r-tidyr
|
|
)
|
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
|
md5sums=('07cd5ec8e7f77106c98209796b535eeb')
|
|
b2sums=('fa57cc2caab7a8728b1cc22413a2f9a22542ff89f550dd57740a19fce2d0f6a160d1b9e74855b0c5758d888be113a4f8fa7a3d8748ca4ce5e72006bd57ec9019')
|
|
|
|
build() {
|
|
mkdir build
|
|
R CMD INSTALL -l build "$_pkgname"
|
|
}
|
|
|
|
package() {
|
|
install -d "$pkgdir/usr/lib/R/library"
|
|
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
|
}
|