diff options
author | Grey Christoforo | 2019-02-08 19:01:28 +0000 |
---|---|---|
committer | Grey Christoforo | 2019-02-08 19:01:28 +0000 |
commit | 04d6c5f32a252922f39f4b4e6a418f6a4d860a20 (patch) | |
tree | b31b252416092bd07062d21f3a8303ff73a14d2f | |
parent | d54daeb2cb35bade3a119e40a8d29556807eb63b (diff) | |
download | aur-04d6c5f32a252922f39f4b4e6a418f6a4d860a20.tar.gz |
version bump
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 33 |
3 files changed, 22 insertions, 27 deletions
@@ -1,14 +1,12 @@ pkgbase = r-gtable - pkgdesc = Arrange Grobs in Tables + pkgdesc = Arrange 'Grobs' in Tables pkgver = 0.2.0 pkgrel = 1 - url = https://cran.r-project.org/package=gtable - arch = any - license = GPL2 + url = http://cran.r-project.org/web/packages/gtable/index.html + arch = x86_64 + license = GPL3 depends = r - optdepends = r-testthat - optdepends = r-covr - source = https://cran.r-project.org/src/contrib/gtable_0.2.0.tar.gz + source = http://cran.r-project.org/src/contrib/gtable_0.2.0.tar.gz md5sums = 124090ae40b2dd3170ae11180e0d4cab pkgname = r-gtable 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=gtable -_cranver=0.2.0 -_pkgtar=${_cranname}_${_cranver}.tar.gz +# Contributor: Grey Christoforo <first name at last name dot net> pkgname=r-gtable -pkgver=${_cranver//[:-]/.} +_cran_name=gtable +pkgver=0.2.0 pkgrel=1 -pkgdesc="Arrange Grobs in Tables" -arch=('any') -url="https://cran.r-project.org/package=${_cranname}" -license=('GPL2') -depends=('r' ) - -optdepends=('r-testthat' 'r-covr') - -source=("https://cran.r-project.org/src/contrib/${_pkgtar}") +pkgdesc="Arrange 'Grobs' in Tables" +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=('124090ae40b2dd3170ae11180e0d4cab') -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} +} |