diff options
author | Alex Branham | 2018-05-30 09:10:26 -0500 |
---|---|---|
committer | Alex Branham | 2018-05-30 09:10:26 -0500 |
commit | d51e782e9cc6a7ee00c03936e041de6f79c2f2f1 (patch) | |
tree | 7095d07ecbfda422745470a7e2d897a8a0493faa | |
download | aur-d51e782e9cc6a7ee00c03936e041de6f79c2f2f1.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e5256b253e66 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = r-rcolorbrewer + pkgdesc = ColorBrewer Palettes + pkgver = 1.1.2 + pkgrel = 1 + url = https://cran.r-project.org/web/packages/RColorBrewer/index.html + arch = any + license = Apache + depends = r + source = https://cran.r-project.org/src/contrib/RColorBrewer_1.1-2.tar.gz + md5sums = 66054d83eade4dff8a43ad4732691182 + +pkgname = r-rcolorbrewer + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2f530ae5ce3d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Alex Branham <branham@utexas.edu> +_cranname=RColorBrewer +_cranver=1.1-2 +_pkgtar=${_cranname}_${_cranver}.tar.gz +pkgname=r-rcolorbrewer +pkgver=${_cranver//[:-]/.} +pkgrel=1 +pkgdesc="ColorBrewer Palettes" +arch=('any') +url="https://cran.r-project.org/web/packages/${_cranname}/index.html" +license=('Apache') +depends=('r' ) + + + +source=("https://cran.r-project.org/src/contrib/${_pkgtar}") +md5sums=('66054d83eade4dff8a43ad4732691182') + +build(){ + R CMD INSTALL ${_pkgtar} -l $srcdir +} +package() { + install -d "$pkgdir/usr/lib/R/library" + cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library" +} + |