summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Frichtl2019-11-08 19:31:27 -0500
committerMatt Frichtl2019-11-08 19:31:27 -0500
commit254613b789563a69db4c9c25465ba17c31e989d3 (patch)
tree955f918481ed2803a585a839183c38b18e91babd
parentb1e3c9fd999a86dbef6d85d12d5ec7d9921d4fdc (diff)
downloadaur-254613b789563a69db4c9c25465ba17c31e989d3.tar.gz
Updated to version 1.0.3
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD16
2 files changed, 14 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8599ed5d2e7..f13f7aeb21e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = r-rcpp
pkgdesc = Seamless R and C++ Integration
- pkgver = 1.0.2
+ pkgver = 1.0.3
pkgrel = 1
url = https://cran.r-project.org/package=Rcpp
arch = i686
@@ -15,8 +15,8 @@ pkgbase = r-rcpp
optdepends = r-rmarkdown
optdepends = r-pinp
optdepends = r-pkgkitten
- source = http://cran.r-project.org/src/contrib/Rcpp_1.0.2.tar.gz
- md5sums = 791b53cf792b1398254f739ea91a3acd
+ source = http://cran.r-project.org/src/contrib/Rcpp_1.0.3.tar.gz
+ md5sums = 0171ac73ab1635df72395dcc5450d48d
pkgname = r-rcpp
diff --git a/PKGBUILD b/PKGBUILD
index 8e151cf230f..16b8469c06b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Matt Frichtl <frichtlm@gmail.com>
_cranname=Rcpp
-_cranver=1.0.2
+_cranver=1.0.3
pkgname=r-rcpp
pkgver=${_cranver}
pkgrel=1
@@ -11,10 +11,16 @@ license=('GPL-2' 'GPL-3')
depends=('r>=3.0.0')
optdepends=('r-runit' 'r-inline' 'r-rbenchmark' 'r-knitr' 'r-rmarkdown' 'r-pinp' 'r-pkgkitten')
source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
-md5sums=('791b53cf792b1398254f739ea91a3acd')
+#source=("http://cran.r-project.org/src/contrib/Arcive/${_cranname}_${_cranver}.tar.gz") # uncomment if 404 error
+md5sums=('0171ac73ab1635df72395dcc5450d48d')
+
+build() {
+ cd "${srcdir}"
+ R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l $srcdir
+}
package() {
- mkdir -p ${pkgdir}/usr/lib/R/library
- cd ${srcdir}
- R CMD INSTALL ${_cranname} -l ${pkgdir}/usr/lib/R/library
+ cd "${srcdir}"
+ install -dm0755 "$pkgdir/usr/lib/R/library"
+ cp -a --no-preserve=ownership "$_cranname" "$pkgdir/usr/lib/R/library"
}