diff options
author | Grey Christoforo | 2019-02-09 11:01:14 +0000 |
---|---|---|
committer | Grey Christoforo | 2019-02-09 11:01:14 +0000 |
commit | 7f4b9556012a580be49cc1c1daffb063625164e4 (patch) | |
tree | 8d7aa6f3c611997523bccc7e8d9ca63dfe0f6fb1 | |
parent | 1a71367dfc637c25c7d8fd80f6f00845b3d2ab29 (diff) | |
download | aur-7f4b9556012a580be49cc1c1daffb063625164e4.tar.gz |
version bump
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 31 |
3 files changed, 22 insertions, 32 deletions
@@ -2,21 +2,14 @@ pkgbase = r-stringr pkgdesc = Simple, Consistent Wrappers for Common String Operations pkgver = 1.3.1 pkgrel = 1 - url = https://cran.r-project.org/package=stringr - arch = any - license = GPL2 - license = custom + url = http://cran.r-project.org/web/packages/stringr/index.html + arch = x86_64 + license = GPL3 depends = r - depends = r-glue>=1.2.0 + depends = r-glue depends = r-magrittr - depends = r-stringi>=1.1.7 - optdepends = r-covr - optdepends = r-htmltools - optdepends = r-htmlwidgets - optdepends = r-knitr - optdepends = r-rmarkdown - optdepends = r-testthat - source = https://cran.r-project.org/src/contrib/stringr_1.3.1.tar.gz + depends = r-stringi + source = http://cran.r-project.org/src/contrib/stringr_1.3.1.tar.gz md5sums = 2b52caf5b5873afaf5e5a48a6513805f pkgname = r-stringr 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=stringr -_cranver=1.3.1 -_pkgtar=${_cranname}_${_cranver}.tar.gz +# Contributor: Grey Christoforo <first name at last name dot net> pkgname=r-stringr -pkgver=${_cranver//[:-]/.} +_cran_name=stringr +pkgver=1.3.1 pkgrel=1 pkgdesc="Simple, Consistent Wrappers for Common String Operations" -arch=('any') -url="https://cran.r-project.org/package=${_cranname}" -license=('GPL2' 'custom') -depends=('r' 'r-glue>=1.2.0' 'r-magrittr' 'r-stringi>=1.1.7') - -optdepends=('r-covr' 'r-htmltools' 'r-htmlwidgets' 'r-knitr' 'r-rmarkdown' 'r-testthat') - -source=("https://cran.r-project.org/src/contrib/${_pkgtar}") +arch=('x86_64') +url="http://cran.r-project.org/web/packages/${_cran_name}/index.html" +license=('GPL3') +depends=('r' 'r-glue' 'r-magrittr' 'r-stringi') +source=("http://cran.r-project.org/src/contrib/${_cran_name}_${pkgver}.tar.gz") md5sums=('2b52caf5b5873afaf5e5a48a6513805f') -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} +} |