diff options
author | Viktor Drobot | 2021-12-05 21:35:01 +0300 |
---|---|---|
committer | Viktor Drobot | 2021-12-05 21:35:01 +0300 |
commit | b74a52f40feaf002458299a0b45c4dff982cb791 (patch) | |
tree | 116cd949f8a132e79eb08ffa8505bfed03f4f291 | |
parent | 09f5c516e5e9e92bbb340ffba2fc9e32cc421b81 (diff) | |
download | aur-b74a52f40feaf002458299a0b45c4dff982cb791.tar.gz |
Fix PKGBUILD
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 4 insertions, 7 deletions
@@ -4,7 +4,7 @@ pkgbase = r-generics pkgrel = 1 url = https://cran.r-project.org/package=generics arch = any - license = GPL2 + license = MIT depends = r>=3.2 optdepends = r-covr optdepends = r-pkgload @@ -9,21 +9,18 @@ pkgrel=1 pkgdesc="Common S3 Generics not Provided by Base R Methods Related to Model Fitting" arch=(any) url="https://cran.r-project.org/package=${_cranname}" -license=(GPL2) +license=(MIT) depends=('r>=3.2') optdepends=(r-covr r-pkgload r-testthat r-tibble r-withr) source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz") sha256sums=('a2478ebf1a0faa8855a152f4e747ad969a800597434196ed1f71975a9eb11912') 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" } |