summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSukanka2022-06-06 16:47:26 +0800
committerSukanka2022-06-06 16:47:26 +0800
commit93c9a85883d54fbcf2eea19226b6ea786bff9c2c (patch)
tree7fcbdb24e96e81ba4ad49b563fae654ab9575557
downloadaur-93c9a85883d54fbcf2eea19226b6ea786bff9c2c.tar.gz
add r-nanotator
-rw-r--r--.SRCINFO31
-rw-r--r--PKGBUILD48
2 files changed, 79 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c3d6b771315
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,31 @@
+pkgbase = r-nanotator
+ pkgdesc = Next generation structural variant annotation and classification
+ pkgver = 1.12.0
+ pkgrel = 1
+ url = https://bioconductor.org/packages/nanotatoR
+ arch = any
+ license = custom
+ depends = r
+ depends = r-annotationdbi
+ depends = r-curl
+ depends = r-dplyr
+ depends = r-genomicranges
+ depends = r-hash
+ depends = r-httr
+ depends = r-knitr
+ depends = r-openxlsx
+ depends = r-org.hs.eg.db
+ depends = r-rentrez
+ depends = r-rlang
+ depends = r-stringr
+ depends = r-testthat
+ depends = r-tidyverse
+ depends = r-varfrompdb
+ depends = r-xml
+ depends = r-xml2r
+ optdepends = r-rmarkdown
+ optdepends = r-yaml
+ source = https://bioconductor.org/packages/release/bioc/src/contrib/nanotatoR_1.12.0.tar.gz
+ sha256sums = 604ec95858a4abc81dffb055fbb9e0dfb0d8528d7ab91fb79dd855639d30248f
+
+pkgname = r-nanotator
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d70b9d2e67b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
+
+_pkgname=nanotatoR
+_pkgver=1.12.0
+pkgname=r-${_pkgname,,}
+pkgver=1.12.0
+pkgrel=1
+pkgdesc='Next generation structural variant annotation and classification'
+arch=('any')
+url="https://bioconductor.org/packages/${_pkgname}"
+license=('custom')
+depends=(
+ r
+ r-annotationdbi
+ r-curl
+ r-dplyr
+ r-genomicranges
+ r-hash
+ r-httr
+ r-knitr
+ r-openxlsx
+ r-org.hs.eg.db
+ r-rentrez
+ r-rlang
+ r-stringr
+ r-testthat
+ r-tidyverse
+ r-varfrompdb
+ r-xml
+ r-xml2r
+)
+optdepends=(
+ r-rmarkdown
+ r-yaml
+)
+source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
+sha256sums=('604ec95858a4abc81dffb055fbb9e0dfb0d8528d7ab91fb79dd855639d30248f')
+
+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"
+ install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+# vim:set ts=2 sw=2 et: