diff options
author | Sukanka | 2022-06-06 12:09:08 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 12:09:08 +0800 |
commit | 48f36f14c33813c36df4345b9154c14fb823053e (patch) | |
tree | 9a6b76fe3d0099725118474f251a73962f48c361 | |
download | aur-48f36f14c33813c36df4345b9154c14fb823053e.tar.gz |
add r-help
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f684f8d03157 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = r-help + pkgdesc = Tools for HELP data analysis + pkgver = 1.54.0 + pkgrel = 1 + url = https://bioconductor.org/packages/HELP + arch = any + license = GPL + depends = r + depends = r-biobase + source = https://bioconductor.org/packages/release/bioc/src/contrib/HELP_1.54.0.tar.gz + sha256sums = 41affa68235628cf5c0244d97734d6f1e4dd1c927adf0c9e89ba82d4c62063ea + +pkgname = r-help diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5ad7478d1459 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=HELP +_pkgver=1.54.0 +pkgname=r-${_pkgname,,} +pkgver=1.54.0 +pkgrel=1 +pkgdesc='Tools for HELP data analysis' +arch=('any') +url="https://bioconductor.org/packages/${_pkgname}" +license=('GPL') +depends=( + r + r-biobase +) +source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('41affa68235628cf5c0244d97734d6f1e4dd1c927adf0c9e89ba82d4c62063ea') + +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: |