summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSukanka2022-06-06 04:59:20 +0800
committerSukanka2022-06-06 04:59:20 +0800
commit6ae38b0dca0a33d47305cd62a963b99b93f24387 (patch)
tree7e462a5fcc6e2ac245154e0370b87ef7ef0e6cdc
downloadaur-6ae38b0dca0a33d47305cd62a963b99b93f24387.tar.gz
add r-biocworkflowtools
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD36
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..45e1f87e00b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = r-biocworkflowtools
+ pkgdesc = Tools to aid the development of Bioconductor Workflow packages
+ pkgver = 1.22.0
+ pkgrel = 1
+ url = https://bioconductor.org/packages/BiocWorkflowTools
+ arch = any
+ license = MIT
+ depends = r
+ depends = r-biocstyle
+ depends = r-bookdown
+ depends = r-git2r
+ depends = r-httr
+ depends = r-knitr
+ depends = r-rmarkdown
+ depends = r-rstudioapi
+ depends = r-stringr
+ depends = r-usethis
+ source = https://bioconductor.org/packages/release/bioc/src/contrib/BiocWorkflowTools_1.22.0.tar.gz
+ sha256sums = b464008286bbd9ca4d39896d3f1c7cee061adb9df0edd1bd716967382f8b44ca
+
+pkgname = r-biocworkflowtools
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e835c9bdd14
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
+
+_pkgname=BiocWorkflowTools
+_pkgver=1.22.0
+pkgname=r-${_pkgname,,}
+pkgver=1.22.0
+pkgrel=1
+pkgdesc='Tools to aid the development of Bioconductor Workflow packages'
+arch=('any')
+url="https://bioconductor.org/packages/${_pkgname}"
+license=('MIT')
+depends=(
+ r
+ r-biocstyle
+ r-bookdown
+ r-git2r
+ r-httr
+ r-knitr
+ r-rmarkdown
+ r-rstudioapi
+ r-stringr
+ r-usethis
+)
+source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
+sha256sums=('b464008286bbd9ca4d39896d3f1c7cee061adb9df0edd1bd716967382f8b44ca')
+
+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: