summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorViktor Drobot2022-01-13 21:04:24 +0300
committerViktor Drobot2022-01-13 21:04:24 +0300
commit4f7a3a8e65dffad354014411872fb3235f6cd8d2 (patch)
tree0ac97f2a08ebe54ac0df8e5e8adb337aedf2b738 /PKGBUILD
parent663cd819ef140193a726f9261ceee5171677743d (diff)
downloadaur-4f7a3a8e65dffad354014411872fb3235f6cd8d2.tar.gz
Fix PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 5 insertions, 8 deletions
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"
}