diff options
author | Sukanka | 2022-06-06 08:55:02 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 08:55:02 +0800 |
commit | ba21dfd51b285bbca1612dd3fffd5e95f2b62849 (patch) | |
tree | 82cd7c72bb2770b567efa07571ea59c4c65c2207 | |
download | aur-ba21dfd51b285bbca1612dd3fffd5e95f2b62849.tar.gz |
add r-elliptic
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7664dddec206 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = r-elliptic + pkgdesc = Weierstrass and Jacobi Elliptic Functions + pkgver = 1.4.0 + pkgrel = 5 + url = https://cran.r-project.org/package=elliptic + arch = any + license = GPL + depends = r + depends = pari + optdepends = r-calibrator + optdepends = r-emulator + source = https://cran.r-project.org/src/contrib/elliptic_1.4-0.tar.gz + sha256sums = b65729b1a1c7a84a5b1a59bfc893a2d35106853eaadcae31cda5c9ee3c500bb6 + +pkgname = r-elliptic diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4619a010f609 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# system requirements: pari/gp +# Maintainer: sukanka <su975853527@gmail.com> + +_pkgname=elliptic +_pkgver=1.4-0 +pkgname=r-${_pkgname,,} +pkgver=1.4.0 +pkgrel=5 +pkgdesc='Weierstrass and Jacobi Elliptic Functions' +arch=('any') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + pari +) +optdepends=( + r-calibrator + r-emulator +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('b65729b1a1c7a84a5b1a59bfc893a2d35106853eaadcae31cda5c9ee3c500bb6') + +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: |