blob: 2b039a3d4c9deccaa885dc25d2bbc13ba38a5897 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
# Contributor: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=bamlss
_pkgver=1.2-3
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Bayesian Additive Models for Location, Scale, and Shape (and Beyond)"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only OR GPL-3.0-only')
depends=(
blas
lapack
r-coda
r-colorspace
r-distributions3
r-formula
r-mba
r-mvtnorm
r-sp
)
optdepends=(
r-bayesx
r-bit
r-ff
r-fields
r-gamlss
r-gamlss.dist
r-glmnet
r-glogis
r-interp
r-keras
r-knitr
r-mapdata
r-maps
r-rjags
r-rmarkdown
r-scoringrules
r-sdprior
r-sf
r-spatstat
r-spdep
r-splines2
r-statmod
r-tensorflow
r-zoo
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('45e9d59e142198ad052ab39fccdacb04')
b2sums=('df325db038fbe1d6b0455551788b7ed3265cedc82c8b07ff9a7c88e2f6e9201546aeeaad9e8ad29dbd5d7ee49333e83a1ce3a6b4dc0340ed9fb285b56ae87444')
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"
}
|