diff options
author | Alex Branham | 2018-05-30 09:09:57 -0500 |
---|---|---|
committer | Alex Branham | 2018-05-30 09:09:57 -0500 |
commit | f46b8ae145bb861edbbaaa23bc358d4f958860cc (patch) | |
tree | 02e3e69e7aaa9733bd0c65ca0167720291f3616e | |
download | aur-f46b8ae145bb861edbbaaa23bc358d4f958860cc.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a17a7d9da4ca --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = r-munsell + pkgdesc = Utilities for Using Munsell Colours + pkgver = 0.4.3 + pkgrel = 1 + url = https://cran.r-project.org/web/packages/munsell/index.html + arch = any + license = MIT + depends = r + depends = r-colorspace + optdepends = r-cran-ggplot2 + optdepends = r-testthat + source = https://cran.r-project.org/src/contrib/munsell_0.4.3.tar.gz + md5sums = ebd205323dc37c948f499ee08be9c476 + +pkgname = r-munsell + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..13e7826a050e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Alex Branham <branham@utexas.edu> +_cranname=munsell +_cranver=0.4.3 +_pkgtar=${_cranname}_${_cranver}.tar.gz +pkgname=r-munsell +pkgver=${_cranver//[:-]/.} +pkgrel=1 +pkgdesc="Utilities for Using Munsell Colours" +arch=('any') +url="https://cran.r-project.org/web/packages/${_cranname}/index.html" +license=('MIT') +depends=('r' 'r-colorspace') + +optdepends=('r-cran-ggplot2' 'r-testthat') + +source=("https://cran.r-project.org/src/contrib/${_pkgtar}") +md5sums=('ebd205323dc37c948f499ee08be9c476') + +build(){ + R CMD INSTALL ${_pkgtar} -l $srcdir +} +package() { + install -d "$pkgdir/usr/lib/R/library" + cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library" +} + |