summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Frichtl2019-11-03 19:26:00 -0500
committerMatt Frichtl2019-11-03 19:26:00 -0500
commit0166e9dc59c6a76f3556ff99aa859cac437fced3 (patch)
tree23ae5dfed0e96022302c9ae79564529660a91a14
parenta6a731fd0773f1d97277b0b5f1ceeefe510f0bd4 (diff)
downloadaur-0166e9dc59c6a76f3556ff99aa859cac437fced3.tar.gz
Updated to version 1.1.5
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD29
2 files changed, 22 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e5d0e1b6028..b2441baac61 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,13 @@
pkgbase = r-backports
pkgdesc = Reimplementations of Functions Introduced Since R-3.0.0
- pkgver = 1.1.4
+ pkgver = 1.1.5
pkgrel = 1
- url = http://cran.r-project.org/web/packages/backports/index.html
+ url = https://cran.r-project.org/package=backports
arch = x86_64
license = GPL3
depends = r
- depends = r-utils
- source = http://cran.r-project.org/src/contrib/backports_1.1.4.tar.gz
- md5sums = 0271f2897b4778c4f3a4c655da098257
+ source = http://cran.r-project.org/src/contrib/backports_1.1.5.tar.gz
+ md5sums = 3e22dd9c53fa5822c14b2d476f86a0ea
pkgname = r-backports
diff --git a/PKGBUILD b/PKGBUILD
index 6937281efc2..7d6e5e3f05b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,26 @@
+# Maintainer: Matt Frichtl <frichtlm@gmail.com>
# Contributor: Grey Christoforo <first name at last name dot net>
-pkgname=r-backports
-_cran_name=backports
-pkgver=1.1.4
+_cranname=backports
+_cranver=1.1.5
+pkgname=r-${_cranname}
+pkgver=${_cranver}
pkgrel=1
pkgdesc="Reimplementations of Functions Introduced Since R-3.0.0"
arch=('x86_64')
-url="http://cran.r-project.org/web/packages/${_cran_name}/index.html"
+url="https://cran.r-project.org/package=backports"
license=('GPL3')
-depends=('r' 'r-utils')
-source=("http://cran.r-project.org/src/contrib/${_cran_name}_${pkgver}.tar.gz")
-md5sums=('0271f2897b4778c4f3a4c655da098257')
+depends=('r')
+source=("http://cran.r-project.org/src/contrib/${_cranname}_${pkgver}.tar.gz")
+#source=("http://cran.r-project.org/src/contrib/Archive/${_cranname}_${cranver}.tar.gz") # uncomment line if 404 error
+md5sums=('3e22dd9c53fa5822c14b2d476f86a0ea')
-package() {
- mkdir -p $pkgdir/usr/lib/R/library
- cd $srcdir
+build() {
+ cd "$srcdir"
+ R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l $srcdir
+}
- R CMD INSTALL -l $pkgdir/usr/lib/R/library ./${_cran_name}
+package() {
+ cd "$srcdir"
+ install -dm0755 "$pkgdir/usr/lib/R/library"
+ cp -a --no-preserve=ownership "$_cranname" "$pkgdir/usr/lib/R/library"
}