diff options
author | Grey Christoforo | 2019-02-09 12:33:04 +0000 |
---|---|---|
committer | Grey Christoforo | 2019-02-09 12:33:04 +0000 |
commit | 2987218415b590058307407e1a4c6ffd7869d8bf (patch) | |
tree | 563d883c14ad4fdca77d8a2bc4debf0add91bddd | |
parent | 2d540a9a7d1d20afb3b75e77a8a8b2b749151385 (diff) | |
download | aur-2987218415b590058307407e1a4c6ffd7869d8bf.tar.gz |
version bump
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 29 |
3 files changed, 18 insertions, 22 deletions
@@ -2,12 +2,11 @@ pkgbase = r-assertthat pkgdesc = Easy Pre and Post Assertions pkgver = 0.2.0 pkgrel = 1 - url = https://cran.r-project.org/package=assertthat - arch = any + url = http://cran.r-project.org/web/packages/assertthat/index.html + arch = x86_64 license = GPL3 depends = r - optdepends = r-testthat - source = https://cran.r-project.org/src/contrib/assertthat_0.2.0.tar.gz + source = http://cran.r-project.org/src/contrib/assertthat_0.2.0.tar.gz md5sums = 8134f0072c6a84fd738d3bfc5e7f68ef pkgname = r-assertthat diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..6ae0b18a1f6c --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/pkg +/src +*.tar.gz +*.tar.xz @@ -1,26 +1,19 @@ -# Maintainer: Alex Branham <branham@utexas.edu> -_cranname=assertthat -_cranver=0.2.0 -_pkgtar=${_cranname}_${_cranver}.tar.gz +# Contributor: Grey Christoforo <first name at last name dot net> pkgname=r-assertthat -pkgver=${_cranver//[:-]/.} +_cran_name=assertthat +pkgver=0.2.0 pkgrel=1 pkgdesc="Easy Pre and Post Assertions" -arch=('any') -url="https://cran.r-project.org/package=${_cranname}" +arch=('x86_64') +url="http://cran.r-project.org/web/packages/${_cran_name}/index.html" license=('GPL3') -depends=('r' ) - -optdepends=('r-testthat') - -source=("https://cran.r-project.org/src/contrib/${_pkgtar}") +depends=('r') +source=("http://cran.r-project.org/src/contrib/${_cran_name}_${pkgver}.tar.gz") md5sums=('8134f0072c6a84fd738d3bfc5e7f68ef') -build(){ - R CMD INSTALL ${_pkgtar} -l $srcdir -} package() { - install -d "$pkgdir/usr/lib/R/library" - cp -r "$srcdir/$_cranname" "$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} +} |