summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSukanka2022-06-06 18:20:35 +0800
committerSukanka2022-06-06 18:20:35 +0800
commitc0fdecfe11707c2a70c0351fbe3b685f62483eae (patch)
treee7e9a0cd663c28a626fe8dc5a4163c8b634d48c0
downloadaur-r-phastcons100way.ucsc.hg19.tar.gz
add r-phastcons100way.ucsc.hg19
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD32
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..5382133e4f39
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = r-phastcons100way.ucsc.hg19
+ pkgdesc = UCSC phastCons conservation scores for hg19
+ pkgver = 3.7.2
+ pkgrel = 3
+ url = https://bioconductor.org/packages/phastCons100way.UCSC.hg19
+ arch = any
+ license = Artistic2.0
+ depends = r
+ depends = r-bsgenome
+ depends = r-genomeinfodb
+ depends = r-genomicranges
+ depends = r-genomicscores
+ depends = r-iranges
+ depends = r-s4vectors
+ source = https://bioconductor.org/packages/release/data/annotation/src/contrib/phastCons100way.UCSC.hg19_3.7.2.tar.gz
+ sha256sums = ca052a0f6e874bcc8079b29e3cc1a29cb6b852b32d5a7a45dea5cff7c924acca
+
+pkgname = r-phastcons100way.ucsc.hg19
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..fb97dea46c02
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
+
+_pkgname=phastCons100way.UCSC.hg19
+_pkgver=3.7.2
+pkgname=r-${_pkgname,,}
+pkgver=3.7.2
+pkgrel=3
+pkgdesc='UCSC phastCons conservation scores for hg19'
+arch=('any')
+url="https://bioconductor.org/packages/${_pkgname}"
+license=('Artistic2.0')
+depends=(
+ r
+ r-bsgenome
+ r-genomeinfodb
+ r-genomicranges
+ r-genomicscores
+ r-iranges
+ r-s4vectors
+)
+source=("https://bioconductor.org/packages/release/data/annotation/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
+sha256sums=('ca052a0f6e874bcc8079b29e3cc1a29cb6b852b32d5a7a45dea5cff7c924acca')
+
+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: