summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: edc41ef70fd6d979cdc470001c9958700dd731da (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
#Maintainer: sukanka <su975853527 AT gmail.com>
_pkgname=bstats
_pkgver=0.0.0.9004
pkgname=r-${_pkgname,,}
pkgver=0.0.0.9004
pkgrel=1
pkgdesc="Bayesian statistics"
arch=('x86_64')
url="https://github.com/AlexanderLyNL/${_pkgname}"
license=('LGPL3')
depends=(r
 	  r-hypergeo
    r-purrr
    r-suppdists
)
makedepends=(git)
optdepends=()
source=("git+https://github.com/AlexanderLyNL/${_pkgname}.git")
sha256sums=('SKIP')


build() {
  mkdir -p ${srcdir}/usr/lib/R/library
  R -e "install.packages('${srcdir}/${_pkgname}',\
     type='source', repos=NULL,lib='${srcdir}/usr/lib/R/library', INSTALL_opts='--no-multiarch --no-docs --no-test-load')"
}

package() {
  cp -a --no-preserve=ownership "${srcdir}/usr" "${pkgdir}"
}