summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9fd937b433a..946e5af6538 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,16 +4,19 @@ pkgbase = r-lifecycle
pkgrel = 1
url = https://cran.r-project.org/package=lifecycle
arch = any
- license = GPL3
+ license = MIT
depends = r>=3.3
depends = r-glue
depends = r-rlang>=0.4.10
optdepends = r-covr
optdepends = r-crayon
+ optdepends = r-lintr
+ optdepends = r-tidyverse
optdepends = r-knitr
optdepends = r-rmarkdown
optdepends = r-testthat
optdepends = r-tibble
+ optdepends = r-vctrs
source = https://cran.r-project.org/src/contrib/lifecycle_1.0.1.tar.gz
sha256sums = 1da76e1c00f1be96ca34e122ae611259430bf99d6a1b999fdef70c00c30f7ba0
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"
}