summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Branham2018-08-22 17:15:47 -0500
committerAlex Branham2018-08-22 17:15:47 -0500
commit76fe65eed6ec188850632c6fefc7854fa4b44ba9 (patch)
tree082801109687320297635240ab81395cb3a64609
parent4329d1a009d2f73daa469795118e3a2606533ae2 (diff)
downloadaur-76fe65eed6ec188850632c6fefc7854fa4b44ba9.tar.gz
Upkg 0.6.16
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD20
2 files changed, 11 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 867808ac779..e5ad67fd2cd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = r-digest
pkgdesc = Create Compact Hash Digests of R Objects
- pkgver = 0.6.15
+ pkgver = 0.6.16
pkgrel = 1
url = https://cran.r-project.org/package=digest
arch = x86_64
@@ -8,8 +8,8 @@ pkgbase = r-digest
depends = r
optdepends = r-knitr
optdepends = r-rmarkdown
- source = https://cran.r-project.org/src/contrib/digest_0.6.15.tar.gz
- md5sums = 94fe9e133a7fb19a89e05daac7b5e9da
+ source = https://cran.r-project.org/src/contrib/digest_0.6.16.tar.gz
+ md5sums = 64d8b514861bbbb3d1fbb386aa286dcb
pkgname = r-digest
diff --git a/PKGBUILD b/PKGBUILD
index 5ca1eb58bb9..524c5ceab9b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,22 @@
# Maintainer: Alex Branham <branham@utexas.edu>
-_cranname=digest
-_cranver=0.6.15
-_pkgtar=${_cranname}_${_cranver}.tar.gz
+_cranver=0.6.16
pkgname=r-digest
pkgver=${_cranver//[:-]/.}
pkgrel=1
-pkgdesc="Create Compact Hash Digests of R Objects"
+pkgdesc='Create Compact Hash Digests of R Objects'
arch=('x86_64')
-url="https://cran.r-project.org/package=${_cranname}"
+url='https://cran.r-project.org/package=digest'
license=('GPL')
depends=('r' )
-
optdepends=('r-knitr' 'r-rmarkdown')
-
-source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
-md5sums=('94fe9e133a7fb19a89e05daac7b5e9da')
+source=("https://cran.r-project.org/src/contrib/digest_"$_cranver".tar.gz")
+md5sums=('64d8b514861bbbb3d1fbb386aa286dcb')
build(){
- R CMD INSTALL ${_pkgtar} -l $srcdir
+ R CMD INSTALL digest_"$_cranver".tar.gz -l "$srcdir"
}
package() {
- install -d "$pkgdir/usr/lib/R/library"
- cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
+ install -dm0755 "$pkgdir"/usr/lib/R/library
+ cp -a --no-preserve=ownership digest "$pkgdir"/usr/lib/R/library
}