summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Greener2022-06-02 15:43:46 +0100
committerRobert Greener2022-06-02 15:43:46 +0100
commit77f281a0339901d976f410bf703f3171fd74adea (patch)
tree169bcc03bace8ea38a378cd06e2d8bc58e9f0dc2
parent1894f144a6b359a0e367a7876342df39ae734f4c (diff)
downloadaur-77f281a0339901d976f410bf703f3171fd74adea.tar.gz
Fix dumb bug
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2513a71502c..cf8d92dc184 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = r-usethis
pkgdesc = Automate Package and Project Setup
pkgver = 2.1.6
- pkgrel = 1
+ pkgrel = 2
url = https://cran.r-project.org/package=usethis
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index ec2fe079a46..c46d6808956 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ _cranname=usethis
_cranver=2.1.6
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
-pkgrel=1
+pkgrel=2
pkgdesc="Automate Package and Project Setup"
arch=(any)
url="https://cran.r-project.org/package=${_cranname}"
@@ -71,7 +71,7 @@ check() {
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
- cp -a --no-preserve=ownership "${srcdir}/build" "${pkgdir}/usr/lib/R/library"
+ cp -a --no-preserve=ownership "build/${_cranname}" "${pkgdir}/usr/lib/R/library"
install -Dm644 "${_cranname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 CRAN_MIT "${pkgdir}/usr/share/licenses/${pkgname}/MIT"