summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8425956b35b..4a7377bd440 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,21 +9,18 @@ pkgrel=1
pkgdesc="Manage the Life Cycle of your Package Functions"
arch=(any)
url="https://cran.r-project.org/package=${_cranname}"
-license=(GPL3)
+license=(MIT)
depends=('r>=3.3' r-glue 'r-rlang>=0.4.10')
-optdepends=(r-covr r-crayon r-knitr r-rmarkdown r-testthat r-tibble)
+optdepends=(r-covr r-crayon r-lintr r-tidyverse r-knitr r-rmarkdown r-testthat r-tibble r-vctrs)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
sha256sums=('1da76e1c00f1be96ca34e122ae611259430bf99d6a1b999fdef70c00c30f7ba0')
build() {
- cd "${srcdir}"
-
- R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l ${srcdir}
+ R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}"
}
package() {
- cd "${srcdir}"
-
install -dm0755 "${pkgdir}/usr/lib/R/library"
+
cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
}