diff options
author | sukanka | 2022-11-28 22:02:02 +0800 |
---|---|---|
committer | sukanka | 2022-11-28 22:02:02 +0800 |
commit | bcb1349c93cb95f1468cc193071d7436a51671b0 (patch) | |
tree | f6c28c281bf8dfe7362b493dfc724386beb13958 | |
download | aur-bcb1349c93cb95f1468cc193071d7436a51671b0.tar.gz |
add package
-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..cd0c6ef3cbbe --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = r-bessel + pkgdesc = Computations and Approximations for Bessel Functions + pkgver = 0.6.0 + pkgrel = 1 + url = https://cran.r-project.org/package=Bessel + arch = x86_64 + license = GPL + depends = r + depends = r-rmpfr + optdepends = r-gsl + optdepends = r-sfsmisc + source = https://cran.r-project.org/src/contrib/Bessel_0.6-0.tar.gz + sha256sums = 8ea97867985eb39da0f60a766795a3c4121a94492236ccf82771470a2d029547 + +pkgname = r-bessel diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..542ea03880c1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: sukanka <su975853527@gmail.com> + +_pkgname=Bessel +_pkgver=0.6-0 +pkgname=r-${_pkgname,,} +pkgver=${_pkgver//[:-]/.} +pkgrel=1 +pkgdesc='Computations and Approximations for Bessel Functions' +arch=('x86_64') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-rmpfr +) +optdepends=( + r-gsl + r-sfsmisc +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('8ea97867985eb39da0f60a766795a3c4121a94492236ccf82771470a2d029547') + +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: |