summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrey Christoforo2019-02-08 18:57:08 +0000
committerGrey Christoforo2019-02-08 18:57:08 +0000
commit8ef3bf8a24a24ed35fb5ef278f205e5161528d55 (patch)
tree39c9b9d97e0609c2901baf59d5431f019c67a639
parentce0b6fbfdb5a862bc44635cea417941b688333f5 (diff)
downloadaur-8ef3bf8a24a24ed35fb5ef278f205e5161528d55.tar.gz
version bump
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD27
2 files changed, 16 insertions, 15 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..6ae0b18a1f6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/pkg
+/src
+*.tar.gz
+*.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
index 80aab9b466f..507cd334946 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,19 @@
-# Maintainer: Alex Branham <alex.branham@gmail.com>
-_cranver=0.6.18
+# Contributor: Grey Christoforo <first name at last name dot net>
pkgname=r-digest
-pkgver=${_cranver//[:-]/.}
+_cran_name=digest
+pkgver=0.6.18
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=digest'
-license=('GPL')
-depends=('r' )
-optdepends=('r-knitr' 'r-rmarkdown')
-source=("https://cran.r-project.org/src/contrib/digest_"$_cranver".tar.gz")
+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=('bc8081563e49bf85d1b720b21b938af1')
-build(){
- R CMD INSTALL digest_"$_cranver".tar.gz -l "$srcdir"
-}
package() {
- install -dm0755 "$pkgdir"/usr/lib/R/library
- cp -a --no-preserve=ownership digest "$pkgdir"/usr/lib/R/library
-}
+ mkdir -p $pkgdir/usr/lib/R/library
+ cd $srcdir
+ R CMD INSTALL -l $pkgdir/usr/lib/R/library ./${_cran_name}
+}