diff options
author | Sukanka | 2022-06-06 07:05:41 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 07:05:41 +0800 |
commit | b14363d9a974829f41fdf696375578678338ad2e (patch) | |
tree | 4e31df0bd5e355da37b72cff271ee90a68c7a037 /PKGBUILD | |
download | aur-r-conting.tar.gz |
add r-conting
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ccdb147dd462 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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}" +} |