summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Drobot2022-01-13 21:04:24 +0300
committerViktor Drobot2022-01-13 21:04:24 +0300
commit4f7a3a8e65dffad354014411872fb3235f6cd8d2 (patch)
tree0ac97f2a08ebe54ac0df8e5e8adb337aedf2b738
parent663cd819ef140193a726f9261ceee5171677743d (diff)
downloadaur-4f7a3a8e65dffad354014411872fb3235f6cd8d2.tar.gz
Fix PKGBUILD
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
2 files changed, 7 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 118097a94bd..2abd2880940 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,10 +4,11 @@ pkgbase = r-rprojroot
pkgrel = 1
url = https://cran.r-project.org/package=rprojroot
arch = any
- license = GPL3
+ license = MIT
depends = r>=3.0.0
optdepends = r-covr
optdepends = r-knitr
+ optdepends = r-lifecycle
optdepends = r-mockr
optdepends = r-rmarkdown
optdepends = r-testthat
@@ -16,4 +17,3 @@ pkgbase = r-rprojroot
sha256sums = 5fa161f0d4ac3b7a99dc6aa2d832251001dc92e93c828593a51fe90afd019e1f
pkgname = r-rprojroot
-
diff --git a/PKGBUILD b/PKGBUILD
index 08a8a7fc4f1..b155253df2b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
+# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
_cranname=rprojroot
_cranver=2.0.2
@@ -8,21 +8,18 @@ pkgrel=1
pkgdesc="Finding Files in Project Subdirectories"
arch=(any)
url="https://cran.r-project.org/package=${_cranname}"
-license=(GPL3)
+license=(MIT)
depends=('r>=3.0.0')
-optdepends=(r-covr r-knitr r-mockr r-rmarkdown r-testthat r-withr)
+optdepends=(r-covr r-knitr r-lifecycle r-mockr r-rmarkdown r-testthat r-withr)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
sha256sums=('5fa161f0d4ac3b7a99dc6aa2d832251001dc92e93c828593a51fe90afd019e1f')
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"
}