summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b7c701375752ec2addc9c5fda3fdff341bfd5e9a (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
28
29
30
31
# Maintainer: sukanka <su975853527@gmail.com>

_pkgname=Brobdingnag
_pkgver=1.2-9
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=6
pkgdesc="Very Large Numbers in R"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
  r
)
optdepends=(
  r-cubature
  r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('0933a3366ef2f614998e8feee06473cc')
b2sums=('2fa605c4a16fe95fa169f61f301ddcef16ecc8d0e87498fd409d23db4e9541291902f610afe93e18b932edfe49d11aa738ccd39a51e62e5b7962d1659d2f0860')

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