1 # Maintainer: Karol "Kenji Takahashi" Wozniak <wozniakk@gmail.com>
6 pkgdesc="Tools: moving window statistics, GIF, Base64, ROC AUC, etc."
7 url="http://cran.r-project.org/web/packages/caTools/index.html"
11 depends=('r' 'r-cran-bitops')
13 source=(http://cran.r-project.org/src/contrib/caTools_$pkgver.tar.gz)
14 md5sums=('81ac6ffbe0bf595bcc0a4cb18f9471ab')
17 mkdir -p ${pkgdir}/usr/lib/R/library
19 R CMD INSTALL caTools -l ${pkgdir}/usr/lib/R/library
20 rm -f ${pkgdir}/usr/lib/R/library/R.css
21 for lic in "LICENSE" "LICENCE" "COPYING"; do
22 if [ -f ${srcdir}/caTools/${lic} ]; then
23 install -Dm644 ${srcdir}/caTools/${lic} ${pkgdir}/usr/share/licenses/r-cran-catools/${lic}