summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSukanka2022-06-06 17:41:24 +0800
committerSukanka2022-06-06 17:41:24 +0800
commit4924752168529d8270f90b9303fbe0aba0eeda97 (patch)
tree3f022c8c99cce792e265a985788c7395dcda397b
downloadaur-4924752168529d8270f90b9303fbe0aba0eeda97.tar.gz
add r-org.hs.eg.db
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD32
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..d295e9adcce0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = r-org.hs.eg.db
+ pkgdesc = Genome wide annotation for Human
+ pkgver = 3.15.0
+ pkgrel = 3
+ url = https://bioconductor.org/packages/org.Hs.eg.db
+ arch = any
+ license = Artistic2.0
+ depends = r
+ depends = r-annotationdbi
+ optdepends = r-annotate
+ optdepends = r-dbi
+ optdepends = r-runit
+ source = https://bioconductor.org/packages/release/data/annotation/src/contrib/org.Hs.eg.db_3.15.0.tar.gz
+ sha256sums = 1dc9bb6019e0f0a222b9ec84a1c5870cdbca480f45d9ad08e35f77278baa3c5f
+
+pkgname = r-org.hs.eg.db
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..c26ed32470f6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
+
+_pkgname=org.Hs.eg.db
+_pkgver=3.15.0
+pkgname=r-${_pkgname,,}
+pkgver=3.15.0
+pkgrel=3
+pkgdesc='Genome wide annotation for Human'
+arch=('any')
+url="https://bioconductor.org/packages/${_pkgname}"
+license=('Artistic2.0')
+depends=(
+ r
+ r-annotationdbi
+)
+optdepends=(
+ r-annotate
+ r-dbi
+ r-runit
+)
+source=("https://bioconductor.org/packages/release/data/annotation/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
+sha256sums=('1dc9bb6019e0f0a222b9ec84a1c5870cdbca480f45d9ad08e35f77278baa3c5f')
+
+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: