summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Drobot2021-12-05 21:43:11 +0300
committerViktor Drobot2021-12-05 21:43:11 +0300
commitc2b4e78a4a1d69da8c2337b543197ff0f3408dcb (patch)
treed8a56b011d5a157d8a75a5d1cca66f4659642f16
parentaebfc74d78abd5fccb5bfdb3c76b50b20fc266d6 (diff)
downloadaur-c2b4e78a4a1d69da8c2337b543197ff0f3408dcb.tar.gz
Fix PKGBUILD
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD10
2 files changed, 4 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7fcf14a59391..2a4ebed353a2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,7 +9,6 @@ pkgbase = r-abind
license = LGPL3
depends = r>=1.5.0
source = https://cran.r-project.org/src/contrib/abind_1.4-5.tar.gz
- md5sums = 136f981e1c4f618b64a87faaa7797c97
+ sha256sums = 3a3ace5afbcb86e56889efcebf3bf5c3bb042a282ba7cc4412d450bb246a3f2c
pkgname = r-abind
-
diff --git a/PKGBUILD b/PKGBUILD
index efbf832acdb5..065572c38ce1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,19 +12,15 @@ arch=(any)
url="https://cran.r-project.org/package=${_cranname}"
license=(LGPL2 LGPL2.1 LGPL3)
depends=('r>=1.5.0')
-optdepends=()
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
-md5sums=('136f981e1c4f618b64a87faaa7797c97')
+sha256sums=('3a3ace5afbcb86e56889efcebf3bf5c3bb042a282ba7cc4412d450bb246a3f2c')
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"
}