summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD42
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..52c98e8459a6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = r-chipanalyser
+ pkgdesc = ChIPanalyser: Predicting Transcription Factor Binding Sites
+ pkgver = 1.18.0
+ pkgrel = 1
+ url = https://bioconductor.org/packages/ChIPanalyser
+ arch = any
+ license = GPL
+ depends = r
+ depends = r-biocmanager
+ depends = r-biostrings
+ depends = r-bsgenome
+ depends = r-genomeinfodb
+ depends = r-genomicranges
+ depends = r-iranges
+ depends = r-rcpproll
+ depends = r-rocr
+ depends = r-rtracklayer
+ depends = r-s4vectors
+ optdepends = r-biocgenerics
+ optdepends = r-bsgenome.dmelanogaster.ucsc.dm3
+ optdepends = r-knitr
+ optdepends = r-runit
+ source = https://bioconductor.org/packages/release/bioc/src/contrib/ChIPanalyser_1.18.0.tar.gz
+ sha256sums = 3db2c9eb67dcfcaf605ddabd0ef3e4f626d0c3e865e3f5bf81476bbf9ec5276e
+
+pkgname = r-chipanalyser
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..d850cabaed2c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
+
+_pkgname=ChIPanalyser
+_pkgver=1.18.0
+pkgname=r-${_pkgname,,}
+pkgver=1.18.0
+pkgrel=1
+pkgdesc='ChIPanalyser: Predicting Transcription Factor Binding Sites'
+arch=('any')
+url="https://bioconductor.org/packages/${_pkgname}"
+license=('GPL')
+depends=(
+ r
+ r-biocmanager
+ r-biostrings
+ r-bsgenome
+ r-genomeinfodb
+ r-genomicranges
+ r-iranges
+ r-rcpproll
+ r-rocr
+ r-rtracklayer
+ r-s4vectors
+)
+optdepends=(
+ r-biocgenerics
+ r-bsgenome.dmelanogaster.ucsc.dm3
+ r-knitr
+ r-runit
+)
+source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
+sha256sums=('3db2c9eb67dcfcaf605ddabd0ef3e4f626d0c3e865e3f5bf81476bbf9ec5276e')
+
+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: