summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Frichtl2019-11-03 19:31:45 -0500
committerMatt Frichtl2019-11-03 19:31:45 -0500
commit08b7f882371cfca1dd82afee352200fcdd08f409 (patch)
tree22f40cce88ef9ab8e45f2ab784893afdf3579eba
parent19df132132e2f7261807abfbcb3b38f481f5cfe0 (diff)
downloadaur-08b7f882371cfca1dd82afee352200fcdd08f409.tar.gz
Updated to version 0.6.22
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD37
2 files changed, 34 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 75f73245f84..06377a27b61 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,18 @@
pkgbase = r-digest
- pkgdesc = Create Compact Hash Digests of R Objects
- pkgver = 0.6.20
+ pkgdesc = A function for creating hash digests of R objects.
+ pkgver = 0.6.22
pkgrel = 1
- url = http://cran.r-project.org/web/packages/digest/index.html
+ url = https://cran.r-project.org/package=digest
+ arch = i686
arch = x86_64
- license = GPL3
- depends = r
- source = http://cran.r-project.org/src/contrib/digest_0.6.20.tar.gz
- md5sums = 0c1aa3679013787b9d19dee5521bab98
+ license = GPL-2
+ license = GPL-3
+ depends = r>=3.1.0
+ optdepends = r-tinytest
+ optdepends = r-knitr
+ optdepends = r-markdown
+ source = http://cran.r-project.org/src/contrib/digest_0.6.22.tar.gz
+ md5sums = 1199cb5013c99ed519f74cdf0857f9da
pkgname = r-digest
diff --git a/PKGBUILD b/PKGBUILD
index 7e6072d02be..7f104716696 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,26 @@
-# Contributor: Grey Christoforo <first name at last name dot net>
-pkgname=r-digest
-_cran_name=digest
-pkgver=0.6.20
+# Maintainer: frichtlm <frichtlm@gmail.com>
+_cranname=digest
+_cranver=0.6.22
+pkgname=r-${_cranname}
+pkgver=${_cranver}
pkgrel=1
-pkgdesc="Create Compact Hash Digests of R Objects"
-arch=('x86_64')
-url="http://cran.r-project.org/web/packages/${_cran_name}/index.html"
-license=('GPL3')
-depends=('r')
-source=("http://cran.r-project.org/src/contrib/${_cran_name}_${pkgver}.tar.gz")
-md5sums=('0c1aa3679013787b9d19dee5521bab98')
+pkgdesc="A function for creating hash digests of R objects."
+url="https://cran.r-project.org/package=${_cranname}"
+arch=('i686' 'x86_64')
+license=('GPL-2' 'GPL-3')
+depends=('r>=3.1.0')
+optdepends=('r-tinytest' 'r-knitr' 'r-markdown')
+source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
+#source=("http://cran.r-project.org/src/contrib/Archive/${_cranname}/${_cranname}_${_cranver}.tar.gz") # replace with this if 404 error
+md5sums=('1199cb5013c99ed519f74cdf0857f9da')
-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"
}