diff options
author | Sukanka | 2022-06-06 12:10:37 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 12:10:37 +0800 |
commit | 77c8de5e42e55a170f9dc011aee69a14c74d5072 (patch) | |
tree | f70b7e405b55ffceac40331e366897663fb16f45 | |
download | aur-77c8de5e42e55a170f9dc011aee69a14c74d5072.tar.gz |
add r-hgnchelper
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d18af2b169a8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = r-hgnchelper + pkgdesc = Identify and Correct Invalid HGNC Human Gene Symbols and MGI Mouse Gene Symbols + pkgver = 0.8.1 + pkgrel = 4 + url = https://cran.r-project.org/package=HGNChelper + arch = any + license = GPL + depends = r + optdepends = r-knitr + optdepends = r-rmarkdown + optdepends = r-testthat + source = https://cran.r-project.org/src/contrib/HGNChelper_0.8.1.tar.gz + sha256sums = aa3f0b3a8691ed93d63bec8f36d2954c6fcfd0b8b3efc705379248544c999363 + +pkgname = r-hgnchelper diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f4e03f3c3698 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=HGNChelper +_pkgver=0.8.1 +pkgname=r-${_pkgname,,} +pkgver=0.8.1 +pkgrel=4 +pkgdesc='Identify and Correct Invalid HGNC Human Gene Symbols and MGI Mouse Gene Symbols' +arch=('any') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r +) +optdepends=( + r-knitr + r-rmarkdown + r-testthat +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('aa3f0b3a8691ed93d63bec8f36d2954c6fcfd0b8b3efc705379248544c999363') + +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: |