diff options
author | Sukanka | 2022-06-07 00:47:44 +0800 |
---|---|---|
committer | Sukanka | 2022-06-07 00:47:44 +0800 |
commit | a5d8730d879641559af78a5793009208d2a8d3ea (patch) | |
tree | f2ae7c1763aa2ae11f8cd22796ddccc76f062397 | |
download | aur-a5d8730d879641559af78a5793009208d2a8d3ea.tar.gz |
add r-statip
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..59bed7f58957 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = r-statip + pkgdesc = Statistical Functions for Probability Distributions and Regression + pkgver = 0.2.3 + pkgrel = 4 + url = https://cran.r-project.org/package=statip + arch = x86_64 + license = GPL + depends = r + depends = r-clue + optdepends = r-knitr + optdepends = r-testthat + source = https://cran.r-project.org/src/contrib/statip_0.2.3.tar.gz + sha256sums = 56a81a1882856cd1c5711ba133417b64f09071dda356e74280a0dba0db60d54f + +pkgname = r-statip diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4b8d6acc27b2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=statip +_pkgver=0.2.3 +pkgname=r-${_pkgname,,} +pkgver=0.2.3 +pkgrel=4 +pkgdesc='Statistical Functions for Probability Distributions and Regression' +arch=('x86_64') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-clue +) +optdepends=( + r-knitr + r-testthat +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('56a81a1882856cd1c5711ba133417b64f09071dda356e74280a0dba0db60d54f') + +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: |