blob: 13e7826a050ec0eda4fe09b55342aee9e48ac3c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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"
}
|