diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 5 insertions, 9 deletions
@@ -5,8 +5,7 @@ pkgbase = r-roxygen2 url = https://cran.r-project.org/package=roxygen2 arch = i686 arch = x86_64 - license = GPL2 - license = GPL3 + license = MIT depends = r>=3.3 depends = r-brew depends = r-commonmark @@ -1,4 +1,4 @@ -# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com +# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com # Contributor: Alex Branham <branham@utexas.edu> _cranname=roxygen2 @@ -9,21 +9,18 @@ pkgrel=1 pkgdesc="In-Line Documentation for R" arch=(i686 x86_64) url="https://cran.r-project.org/package=${_cranname}" -license=(GPL2 GPL3) +license=(MIT) depends=('r>=3.3' r-brew r-commonmark 'r-desc>=1.2.0' r-digest r-knitr 'r-pkgload>=1.0.2' 'r-purrr>=0.3.3' 'r-r6>=2.1.2' r-rlang r-stringi 'r-stringr>=1.0.0' r-xml2 r-cpp11) optdepends=(r-covr r-devtools r-rmarkdown r-testthat r-r.methodss3 r-r.oo) source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz") sha256sums=('b3693d1eb57bb1c27134447ea7f64c353c085dd2237af7cfacc75fca3d2fc5fd') 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" } |