diff options
author | Sukanka | 2022-06-06 04:43:34 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 04:43:34 +0800 |
commit | 19b8e2b76ab2f97a2f3918affc0c23b2a7942dc9 (patch) | |
tree | 8ee6280cafa6245dce01545d0109472da1dbf3d7 | |
download | aur-19b8e2b76ab2f97a2f3918affc0c23b2a7942dc9.tar.gz |
add r-bgx
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9ad1c56a5b0e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = r-bgx + pkgdesc = Bayesian Gene eXpression + pkgver = 1.62.0 + pkgrel = 1 + url = https://bioconductor.org/packages/bgx + arch = x86_64 + license = GPL + depends = r + depends = r-affy + depends = r-biobase + depends = r-gcrma + depends = r-rcpp + depends = boost + optdepends = r-affydata + optdepends = r-hgu95av2cdf + source = https://bioconductor.org/packages/release/bioc/src/contrib/bgx_1.62.0.tar.gz + sha256sums = 7399efef83aeba96f5813bc424f0b93903b0320d7cbaa7cbdf3731b68c255e60 + +pkgname = r-bgx diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7c7f74d00f88 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=bgx +_pkgver=1.62.0 +pkgname=r-${_pkgname,,} +pkgver=1.62.0 +pkgrel=1 +pkgdesc='Bayesian Gene eXpression' +arch=('x86_64') +url="https://bioconductor.org/packages/${_pkgname}" +license=('GPL') +depends=( + r + r-affy + r-biobase + r-gcrma + r-rcpp + boost +) +optdepends=( + r-affydata + r-hgu95av2cdf +) +source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('7399efef83aeba96f5813bc424f0b93903b0320d7cbaa7cbdf3731b68c255e60') + +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: |