1 # Maintainer: Karol "Kenji Takahashi" Wozniak <wozniakk@gmail.com>
6 pkgdesc="Functions for Bitwise operations"
7 url="http://cran.r-project.org/web/packages/bitops/index.html"
8 license=('GPL version 2 or later')
13 source=(http://cran.r-project.org/src/contrib/bitops_1.0-4.1.tar.gz)
14 md5sums=('81107518a0cafce266e82fc8571732da')
17 mkdir -p ${pkgdir}/usr/lib/R/library
19 R CMD INSTALL bitops -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}/bitops/${lic} ]; then
23 install -Dm644 ${srcdir}/bitops/${lic} ${pkgdir}/usr/share/licenses/r-cran-bitops/${lic}