diff options
author | Pekka Ristola | 2023-10-08 08:48:04 +0300 |
---|---|---|
committer | Pekka Ristola | 2023-10-08 08:48:04 +0300 |
commit | 28ecfe76c5c9586b9ab9987a3059f2bcf743f174 (patch) | |
tree | 6e34fa47900666981532958f21778f96745e6597 | |
download | aur-28ecfe76c5c9586b9ab9987a3059f2bcf743f174.tar.gz |
Version 4.5.4
-rw-r--r-- | .SRCINFO | 35 | ||||
-rw-r--r-- | PKGBUILD | 54 |
2 files changed, 89 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8d800786fe2f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,35 @@ +pkgbase = r-matchit + pkgdesc = Nonparametric Preprocessing for Parametric Causal Inference + pkgver = 4.5.4 + pkgrel = 1 + url = https://cran.r-project.org/package=MatchIt + arch = x86_64 + license = GPL + makedepends = r-rcppprogress + depends = r-backports + depends = r-chk + depends = r-rcpp + depends = r-rlang + optdepends = r-cbps + optdepends = r-cobalt + optdepends = r-dbarts + optdepends = r-gbm + optdepends = r-glmnet + optdepends = r-gurobi + optdepends = r-knitr + optdepends = r-marginaleffects + optdepends = r-matching + optdepends = r-optmatch + optdepends = r-quickmatch + optdepends = r-randomforest + optdepends = r-rcppprogress + optdepends = r-rgenoud + optdepends = r-rglpk + optdepends = r-rmarkdown + optdepends = r-rsymphony + optdepends = r-sandwich + source = https://cran.r-project.org/src/contrib/MatchIt_4.5.4.tar.gz + md5sums = aed964f649879453bfcb7d45b837e2a5 + sha256sums = 9b9d935042118115aa14536a60b6a28eb92aa29326315aa65952b976fbfc1a9e + +pkgname = r-matchit diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e55427e0fa42 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,54 @@ +# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com> +# Contributor: sukanka <su975853527@gmail.com> + +_pkgname=MatchIt +_pkgver=4.5.4 +pkgname=r-${_pkgname,,} +pkgver=${_pkgver//-/.} +pkgrel=1 +pkgdesc="Nonparametric Preprocessing for Parametric Causal Inference" +arch=(x86_64) +url="https://cran.r-project.org/package=${_pkgname}" +license=(GPL) +depends=( + r-backports + r-chk + r-rcpp + r-rlang +) +makedepends=( + r-rcppprogress +) +optdepends=( + r-cbps + r-cobalt + r-dbarts + r-gbm + r-glmnet + r-gurobi + r-knitr + r-marginaleffects + r-matching + r-optmatch + r-quickmatch + r-randomforest + r-rcppprogress + r-rgenoud + r-rglpk + r-rmarkdown + r-rsymphony + r-sandwich +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +md5sums=('aed964f649879453bfcb7d45b837e2a5') +sha256sums=('9b9d935042118115aa14536a60b6a28eb92aa29326315aa65952b976fbfc1a9e') + +build() { + mkdir -p build + R CMD INSTALL "$_pkgname" -l build +} + +package() { + install -d "$pkgdir/usr/lib/R/library" + cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library" +} |