blob: fc94bc9fd4c8ac6337f73cf054623210c8ba0058 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: DuckSoft <realducksoft@gmail.com>
_cranname=BAS
pkgname=r-bas
pkgver=1.7.1
pkgrel=1
pkgdesc="Bayesian Variable Selection and Model Averaging using Bayesian Adaptive Sampling"
arch=(x86_64)
url="https://cran.r-project.org/package=${_cranname}"
license=(GPL3)
depends=(r)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${pkgver}.tar.gz")
sha256sums=('28bfbb71ce9e4d76e95a25ab012c9aba1c2c842d207bdad4c935524179cae6c8')
build() {
R CMD INSTALL ${_cranname}_${pkgver}.tar.gz -l "${srcdir}"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
}
|