summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSukanka2022-06-06 05:26:28 +0800
committerSukanka2022-06-06 05:26:28 +0800
commit410813c7fbedb1ac9b37936e1d9f8b99e3153a7b (patch)
treef395c098076b0e7c7367426131ca776f9706df17
downloadaur-410813c7fbedb1ac9b37936e1d9f8b99e3153a7b.tar.gz
add r-bsgenome
-rw-r--r--.SRCINFO37
-rw-r--r--PKGBUILD53
2 files changed, 90 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..76d3aad712cc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,37 @@
+pkgbase = r-bsgenome
+ pkgdesc = Software infrastructure for efficient representation of full genomes and their SNPs
+ pkgver = 1.64.0
+ pkgrel = 1
+ url = https://bioconductor.org/packages/BSgenome
+ arch = any
+ license = Artistic2.0
+ depends = r
+ depends = r-biocgenerics
+ depends = r-biostrings
+ depends = r-genomeinfodb
+ depends = r-genomicranges
+ depends = r-iranges
+ depends = r-matrixstats
+ depends = r-rsamtools
+ depends = r-rtracklayer
+ depends = r-s4vectors
+ depends = r-xvector
+ optdepends = r-biobase
+ optdepends = r-biocmanager
+ optdepends = r-bsgenome.celegans.ucsc.ce2
+ optdepends = r-bsgenome.hsapiens.ncbi.grch38
+ optdepends = r-bsgenome.hsapiens.ucsc.hg38
+ optdepends = r-bsgenome.hsapiens.ucsc.hg38.masked
+ optdepends = r-bsgenome.mmusculus.ucsc.mm10
+ optdepends = r-bsgenome.rnorvegicus.ucsc.rn5
+ optdepends = r-bsgenome.scerevisiae.ucsc.saccer1
+ optdepends = r-hgu95av2probe
+ optdepends = r-runit
+ optdepends = r-snplocs.hsapiens.dbsnp144.grch38
+ optdepends = r-txdb.hsapiens.ucsc.hg38.knowngene
+ optdepends = r-txdb.mmusculus.ucsc.mm10.knowngene
+ optdepends = r-xtrasnplocs.hsapiens.dbsnp144.grch38
+ source = https://bioconductor.org/packages/release/bioc/src/contrib/BSgenome_1.64.0.tar.gz
+ sha256sums = ace392a9db183effb8a55c1f74719ef00dee5ea2da2af6f383af77e354cdf89d
+
+pkgname = r-bsgenome
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..908fa8b1ba78
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,53 @@
+# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
+
+_pkgname=BSgenome
+_pkgver=1.64.0
+pkgname=r-${_pkgname,,}
+pkgver=1.64.0
+pkgrel=1
+pkgdesc='Software infrastructure for efficient representation of full genomes and their SNPs'
+arch=('any')
+url="https://bioconductor.org/packages/${_pkgname}"
+license=('Artistic2.0')
+depends=(
+ r
+ r-biocgenerics
+ r-biostrings
+ r-genomeinfodb
+ r-genomicranges
+ r-iranges
+ r-matrixstats
+ r-rsamtools
+ r-rtracklayer
+ r-s4vectors
+ r-xvector
+)
+optdepends=(
+ r-biobase
+ r-biocmanager
+ r-bsgenome.celegans.ucsc.ce2
+ r-bsgenome.hsapiens.ncbi.grch38
+ r-bsgenome.hsapiens.ucsc.hg38
+ r-bsgenome.hsapiens.ucsc.hg38.masked
+ r-bsgenome.mmusculus.ucsc.mm10
+ r-bsgenome.rnorvegicus.ucsc.rn5
+ r-bsgenome.scerevisiae.ucsc.saccer1
+ r-hgu95av2probe
+ r-runit
+ r-snplocs.hsapiens.dbsnp144.grch38
+ r-txdb.hsapiens.ucsc.hg38.knowngene
+ r-txdb.mmusculus.ucsc.mm10.knowngene
+ r-xtrasnplocs.hsapiens.dbsnp144.grch38
+)
+source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
+sha256sums=('ace392a9db183effb8a55c1f74719ef00dee5ea2da2af6f383af77e354cdf89d')
+
+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: