diff options
author | Sukanka | 2022-06-06 02:07:17 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 02:07:17 +0800 |
commit | dca8f4f989d3d595a98f406526a11c1bda99bd7b (patch) | |
tree | 9ae977ca735490264739b528c8b4a454135a8d04 | |
download | aur-dca8f4f989d3d595a98f406526a11c1bda99bd7b.tar.gz |
add r-available
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | PKGBUILD | 46 |
2 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d4cfe92fc0bc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = r-available + pkgdesc = Check if the Title of a Package is Available, Appropriate and Interesting + pkgver = 1.0.5 + pkgrel = 4 + url = https://cran.r-project.org/package=available + arch = any + license = MIT + depends = r + depends = r-cli + depends = r-clisymbols + depends = r-crayon + depends = r-desc + depends = r-glue + depends = r-jsonlite + depends = r-memoise + depends = r-snowballc + depends = r-stringdist + depends = r-tibble + depends = r-tidytext + depends = r-udapi + depends = r-yesno + optdepends = r-biocmanager + optdepends = r-covr + optdepends = r-testthat + optdepends = r-usethis + source = https://cran.r-project.org/src/contrib/available_1.0.5.tar.gz + sha256sums = c59f6c1c92bb846ed7eedbfae02da4854129626716966c2b68a3aaa95dfd9ed6 + +pkgname = r-available diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b18485e1ae3e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=available +_pkgver=1.0.5 +pkgname=r-${_pkgname,,} +pkgver=1.0.5 +pkgrel=4 +pkgdesc='Check if the Title of a Package is Available, Appropriate and Interesting' +arch=('any') +url="https://cran.r-project.org/package=${_pkgname}" +license=('MIT') +depends=( + r + r-cli + r-clisymbols + r-crayon + r-desc + r-glue + r-jsonlite + r-memoise + r-snowballc + r-stringdist + r-tibble + r-tidytext + r-udapi + r-yesno +) +optdepends=( + r-biocmanager + r-covr + r-testthat + r-usethis +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('c59f6c1c92bb846ed7eedbfae02da4854129626716966c2b68a3aaa95dfd9ed6') + +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: |