summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Branham2018-05-30 08:57:32 -0500
committerAlex Branham2018-05-30 08:57:32 -0500
commit6cf9fc6873dd6ecf321c1835dfb1876c73870247 (patch)
treeaf0cce9110c65cc7c791d9c28ae12e0144c967ba
parent32597ce730db250bf47eaeb50cecab083a4ef47c (diff)
downloadaur-6cf9fc6873dd6ecf321c1835dfb1876c73870247.tar.gz
Upkg & rename
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD36
2 files changed, 39 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ff8370964fc..4f46b60c284 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,20 @@
-pkgbase = r-cran-rlang
- pkgdesc = A toolbox for working with base types, R and Tidyverse core features.
- pkgver = 0.1.1
+pkgbase = r-rlang
+ pkgdesc = Functions for Base Types and Core R and Tidyverse Features
+ pkgver = 0.2.0
pkgrel = 1
- url = http://cran.r-project.org/web/packages/rlang/index.html
- arch = i686
- arch = x86_64
- license = GPL-3
- depends = r>=3.1.0
- source = http://cran.r-project.org/src/contrib/rlang_0.1.1.tar.gz
- md5sums = 38a51a0b8f8487eb52b4f3d986313682
+ url = https://cran.r-project.org/web/packages/rlang/index.html
+ arch = any
+ license = GPL3
+ depends = r
+ optdepends = r-crayon
+ optdepends = r-knitr
+ optdepends = r-cran-pillar
+ optdepends = r-rmarkdown
+ optdepends = r-testthat
+ optdepends = r-covr
+ replaces = r-cran-rlang
+ source = https://cran.r-project.org/src/contrib/rlang_0.2.0.tar.gz
+ md5sums = d2a9f5357a5de6de624b11e6da12275c
-pkgname = r-cran-rlang
+pkgname = r-rlang
diff --git a/PKGBUILD b/PKGBUILD
index 0e614686e83..be38ef27371 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,27 @@
-# Maintainer: frichtlm <frichtlm@gmail.com>
+# Maintainer: Alex Branham <branham@utexas.edu>
_cranname=rlang
-_cranver=0.1.1
-pkgname=r-cran-$_cranname
-pkgver=${_cranver}
+_cranver=0.2.0
+_pkgtar=${_cranname}_${_cranver}.tar.gz
+pkgname=r-rlang
+pkgver=${_cranver//[:-]/.}
pkgrel=1
-pkgdesc="A toolbox for working with base types, R and Tidyverse core features."
-url="http://cran.r-project.org/web/packages/${_cranname}/index.html"
-arch=('i686' 'x86_64')
-license=('GPL-3')
-depends=('r>=3.1.0')
-source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
-md5sums=('38a51a0b8f8487eb52b4f3d986313682')
+pkgdesc="Functions for Base Types and Core R and Tidyverse Features"
+arch=('any')
+url="https://cran.r-project.org/web/packages/${_cranname}/index.html"
+license=('GPL3')
+depends=('r' )
+optdepends=('r-crayon' 'r-knitr' 'r-cran-pillar' 'r-rmarkdown' 'r-testthat' 'r-covr')
+
+source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
+md5sums=('d2a9f5357a5de6de624b11e6da12275c')
+replaces=("r-cran-rlang")
+
+build(){
+ R CMD INSTALL ${_pkgtar} -l $srcdir
+}
package() {
- mkdir -p ${pkgdir}/usr/lib/R/library
- cd ${srcdir}
- R CMD INSTALL ${_cranname} -l ${pkgdir}/usr/lib/R/library
+ install -d "$pkgdir/usr/lib/R/library"
+ cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
}
+