summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSukanka2022-06-06 04:58:09 +0800
committerSukanka2022-06-06 04:58:09 +0800
commit82fdfa041bb025899aac192d5b607a6ca91c3ce4 (patch)
tree82545b70f948a36ef7d4927e7ec5192119e630d6
downloadaur-82fdfa041bb025899aac192d5b607a6ca91c3ce4.tar.gz
add r-biocthis
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD44
2 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..162b315b88b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = r-biocthis
+ pkgdesc = Automate package and project setup for Bioconductor packages
+ pkgver = 1.6.0
+ pkgrel = 1
+ url = https://bioconductor.org/packages/biocthis
+ arch = any
+ license = Artistic2.0
+ depends = r
+ depends = r-biocmanager
+ depends = r-fs
+ depends = r-glue
+ depends = r-rlang
+ depends = r-styler
+ depends = r-usethis
+ optdepends = r-biocstyle
+ optdepends = r-covr
+ optdepends = r-devtools
+ optdepends = r-knitr
+ optdepends = r-pkgdown
+ optdepends = r-refmanager
+ optdepends = r-rmarkdown
+ optdepends = r-sessioninfo
+ optdepends = r-testthat
+ optdepends = r-utils
+ source = https://bioconductor.org/packages/release/bioc/src/contrib/biocthis_1.6.0.tar.gz
+ sha256sums = c0521cd2a224555dda111659f38f48ef589e6242a2857a721d518b06c095afc1
+
+pkgname = r-biocthis
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a5648b40ccb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
+
+_pkgname=biocthis
+_pkgver=1.6.0
+pkgname=r-${_pkgname,,}
+pkgver=1.6.0
+pkgrel=1
+pkgdesc='Automate package and project setup for Bioconductor packages'
+arch=('any')
+url="https://bioconductor.org/packages/${_pkgname}"
+license=('Artistic2.0')
+depends=(
+ r
+ r-biocmanager
+ r-fs
+ r-glue
+ r-rlang
+ r-styler
+ r-usethis
+)
+optdepends=(
+ r-biocstyle
+ r-covr
+ r-devtools
+ r-knitr
+ r-pkgdown
+ r-refmanager
+ r-rmarkdown
+ r-sessioninfo
+ r-testthat
+ r-utils
+)
+source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
+sha256sums=('c0521cd2a224555dda111659f38f48ef589e6242a2857a721d518b06c095afc1')
+
+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: