diff options
author | Sukanka | 2022-06-06 12:38:52 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 12:38:52 +0800 |
commit | 351610d0166408e7ba9558c1d0ea93a418f27074 (patch) | |
tree | 135201a8e6fc29f62cb55212474b1fad6fa35fcf | |
download | aur-351610d0166408e7ba9558c1d0ea93a418f27074.tar.gz |
add r-ic.infer
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b82d43bdd58d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = r-ic.infer + pkgdesc = Inequality Constrained Inference in Linear Normal Situations + pkgver = 1.1.6 + pkgrel = 6 + url = https://cran.r-project.org/package=ic.infer + arch = any + license = GPL + depends = r + depends = r-quadprog + depends = r-mvtnorm + depends = r-kappalab + optdepends = r-relaimpo + source = https://cran.r-project.org/src/contrib/ic.infer_1.1-6.tar.gz + sha256sums = fea55a85cef922b2fc96a2e770cf8feea2c9a71208d7e4e7277989544ae76c93 + +pkgname = r-ic.infer diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0aacf5ddd2e2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: sukanka <su975853527@gmail.com> + +_pkgname=ic.infer +_pkgver=1.1-6 +pkgname=r-${_pkgname,,} +pkgver=1.1.6 +pkgrel=6 +pkgdesc='Inequality Constrained Inference in Linear Normal Situations' +arch=('any') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-quadprog + r-mvtnorm + r-kappalab +) +optdepends=( + r-relaimpo +) + +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('fea55a85cef922b2fc96a2e770cf8feea2c9a71208d7e4e7277989544ae76c93') + +build() { + R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" +} + +package() { + install -dm0755 "${pkgdir}/usr/lib/R/library" + cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" +} +# vim:set ts=2 sw=2 et: |