updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / r-cran-rcolorbrewer / PKGBUILD
blobcf3db0ceca819f4e43e3f65f88d030ca7ddb1cdf
1 # Maintainer: Oleg Smirnov <oleg.smirnov@gmail.com>
2 pkgname=r-cran-rcolorbrewer
3 pkgver=1.0_5
4 pkgrel=1
5 pkgdesc="ColorBrewer palettes"
6 url="http://cran.r-project.org/web/packages/RColorBrewer/index.html"
7 license=('Apache License 2.0')
8 arch=('i686' 'x86_64')
9 makedepends=('gcc' 'gcc-fortran')
10 depends=('r' )
11 optdepends=()
12 source=(http://cran.r-project.org/src/contrib/RColorBrewer_1.0-5.tar.gz)
13 build() {
14     mkdir -p ${pkgdir}/usr/lib/R/library
15     cd ${srcdir}
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}
21         fi
22     done
24 md5sums=('da52d639e105254e33346d5a39fa44d4')