blob: aefcf652195767df13d56a19d48c825ac139bd25 (
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
27
|
# Contributor: Kibouo <csonka.mihaly@hotmail.com>
# Contributor: Alex Branham <branham@utexas.edu>
_cranname=htmltools
_cranver=0.3.6
_pkgtar=${_cranname}_${_cranver}.tar.gz
pkgname=r-htmltools
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Tools for HTML"
arch=('x86_64')
url="https://cran.r-project.org/package=${_cranname}"
license=('GPL')
depends=('r' 'r-digest' 'r-rcpp')
optdepends=('r-markdown' 'r-testthat')
source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
md5sums=('336419c2143f958862e01ef1bbc9c253')
build(){
R CMD INSTALL ${_pkgtar} -l $srcdir
}
package() {
install -d "$pkgdir/usr/lib/R/library"
cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
}
|