diff options
author | Sukanka | 2022-06-06 21:27:28 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 21:27:28 +0800 |
commit | 03539b683e2f5ca41e01260b5fe28e872348fb15 (patch) | |
tree | 009ed99cabf7ec99116362c14c05f44d3bf55df7 | |
download | aur-03539b683e2f5ca41e01260b5fe28e872348fb15.tar.gz |
add r-rprotobuflib
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9259c1d5c4b5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = r-rprotobuflib + pkgdesc = C++ headers and static libraries of Protocol buffers + pkgver = 2.8.0 + pkgrel = 5 + url = https://bioconductor.org/packages/RProtoBufLib + arch = x86_64 + license = BSD + depends = r + optdepends = r-knitr + optdepends = r-rmarkdown + source = https://bioconductor.org/packages/release/bioc/src/contrib/RProtoBufLib_2.8.0.tar.gz + sha256sums = f7160c1623f50f0e23d14e7e99a2e6c018186871f7f1f68c9171031f6ae678d7 + +pkgname = r-rprotobuflib diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4816f6cb4de9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# system requirements: GNU make +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=RProtoBufLib +_pkgver=2.8.0 +pkgname=r-${_pkgname,,} +pkgver=2.8.0 +pkgrel=5 +pkgdesc='C++ headers and static libraries of Protocol buffers' +arch=('x86_64') +url="https://bioconductor.org/packages/${_pkgname}" +license=('BSD') +depends=( + r +) +optdepends=( + r-knitr + r-rmarkdown +) +source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('f7160c1623f50f0e23d14e7e99a2e6c018186871f7f1f68c9171031f6ae678d7') + +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: |