diff options
author | Sukanka | 2022-06-06 01:46:49 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 01:46:49 +0800 |
commit | 9bc58d53b7f8ab500afc008e5eeede5bb0d17710 (patch) | |
tree | 6a81ffcd8d2bc5306944342c7ebe233325f6d73c /PKGBUILD | |
download | aur-9bc58d53b7f8ab500afc008e5eeede5bb0d17710.tar.gz |
add r-aroma.core
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..040020209b0f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=aroma.core +_pkgver=3.2.2 +pkgname=r-${_pkgname,,} +pkgver=3.2.2 +pkgrel=4 +pkgdesc="Core Methods and Classes Used by 'aroma.*' Packages Part of the Aroma Framework" +arch=('any') +url="https://cran.r-project.org/package=${_pkgname}" +license=('LGPL') +depends=( + r + r-biocmanager + r-future + r-listenv + r-matrixstats + r-pscbs + r-r.cache + r-r.devices + r-r.filesets + r-r.methodss3 + r-r.oo + r-r.rsp + r-r.utils + r-rcolorbrewer +) +optdepends=( + r-aroma.light + r-cairo + r-dnacopy + r-ebimage + r-expectile + r-glad + r-haarseg + r-kernsmooth + r-mpcbs + r-png + r-preprocesscore + r-sfit +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('35e0312e403a1894da036afac12d1d727c937e666d7eb400bfe4018b21244855') + +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: |