diff options
author | Sukanka | 2022-06-07 01:19:51 +0800 |
---|---|---|
committer | Sukanka | 2022-06-07 01:19:51 +0800 |
commit | eeb1a176e381f1a1cc446a7181c8136c23609b77 (patch) | |
tree | b32913912db6342ca5467b822bee9da39ba37907 | |
download | aur-eeb1a176e381f1a1cc446a7181c8136c23609b77.tar.gz |
add r-tarifx
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7c914821eb23 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = r-tarifx + pkgdesc = Collection of Utility and Convenience Functions + pkgver = 1.0.6.2 + pkgrel = 3 + url = https://cran.r-project.org/package=taRifx + arch = any + license = GPL + depends = r + depends = r-plyr + depends = r-reshape2 + optdepends = r-catools + optdepends = r-data.table + optdepends = r-gdata + optdepends = r-ggplot2 + optdepends = r-grid + optdepends = r-lattice + optdepends = r-pspline + optdepends = r-rsqlite + optdepends = r-stringr + optdepends = r-xtable + source = https://cran.r-project.org/src/contrib/taRifx_1.0.6.2.tar.gz + sha256sums = 89d031db00a94ae57c7ace0d9aa39ba2f960f96fd48d2d1e4c7ebb62a2969b15 + +pkgname = r-tarifx diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a3f0df27456d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=taRifx +_pkgver=1.0.6.2 +pkgname=r-${_pkgname,,} +pkgver=1.0.6.2 +pkgrel=3 +pkgdesc='Collection of Utility and Convenience Functions' +arch=('any') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-plyr + r-reshape2 +) +optdepends=( + r-catools + r-data.table + r-gdata + r-ggplot2 + r-grid + r-lattice + r-pspline + r-rsqlite + r-stringr + r-xtable +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('89d031db00a94ae57c7ace0d9aa39ba2f960f96fd48d2d1e4c7ebb62a2969b15') + +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: |