summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ccdb147dd462f53b096e40d4ab86897d924746f2 (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
#Maintainer: sukanka <su975853527 AT gmail.com>
_pkgname=conting
_pkgver=1.7.9999
pkgname=r-${_pkgname,,}
pkgver=1.7.9999
pkgrel=1
pkgdesc="Bayesian Analysis of Contingency Tables"
arch=('any')
url="https://github.com/vandenman/${_pkgname}"
license=('GPL2')
depends=(r
  r-mvtnorm
	r-gtools
 	r-tseries
 	r-coda
)
makedepends=('git')
optdepends=()
source=("git+https://github.com/vandenman/${_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}"
}