diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6e33657c93a7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,56 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=ptairMS +_pkgver=1.4.0 +pkgname=r-${_pkgname,,} +pkgver=1.4.0 +pkgrel=1 +pkgdesc='Pre-processing PTR-TOF-MS Data' +arch=('x86_64') +url="https://bioconductor.org/packages/${_pkgname}" +license=('GPL') +depends=( + r + r-biobase + r-bit64 + r-chron + r-data.table + r-doparallel + r-dt + r-envipat + r-foreach + r-ggplot2 + r-ggpubr + r-gridextra + r-hmisc + r-minpack.lm + r-msnbase + r-plotly + r-rcpp + r-rhdf5 + r-rlang + r-scales + r-shiny + r-shinyscreenshot + r-signal +) +optdepends=( + r-biocstyle + r-knitr + r-ptairdata + r-rmarkdown + r-ropls + r-testthat +) +source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('e6fcac1d11ec49a8ebd6161309ac708159c8ea9e0b14cd225dbfc41c8e50a38c') + +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: |