1 # Maintainer: Oleg Smirnov <oleg.smirnov@gmail.com>
2 pkgname=r-cran-rcolorbrewer
5 pkgdesc="ColorBrewer palettes"
6 url="http://cran.r-project.org/web/packages/RColorBrewer/index.html"
7 license=('Apache License 2.0')
9 makedepends=('gcc' 'gcc-fortran')
12 source=(http://cran.r-project.org/src/contrib/RColorBrewer_1.0-5.tar.gz)
14 mkdir -p ${pkgdir}/usr/lib/R/library
16 R CMD INSTALL RColorBrewer -l ${pkgdir}/usr/lib/R/library
17 rm -f ${pkgdir}/usr/lib/R/library/R.css
18 for lic in "LICENSE" "LICENCE" "COPYING"; do
19 if [ -f ${srcdir}/RColorBrewer/${lic} ]; then
20 install -Dm644 ${srcdir}/RColorBrewer/${lic} ${pkgdir}/usr/share/licenses/r-cran-rcolorbrewer/${lic}
24 md5sums=('da52d639e105254e33346d5a39fa44d4')