summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0acd0f47b9b9690ebb097ae4c2836f20c3a0585f (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
# Contributor: Kibouo <csonka.mihaly@hotmail.com>
# Contributor: Ward Segers <w@rdsegers.be>
# Contributor: Alex Branham <alex.branham@gmail.com>
_cranver=0.13
pkgname=r-evaluate
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc='Parsing and Evaluation Tools that Provide More Details than the Default'
arch=('any')
url='https://cran.r-project.org/package=evaluate'
license=('MIT')
depends=('r' )
optdepends=('r-testthat' 'r-ggplot2')
source=("https://cran.r-project.org/src/contrib/evaluate_"$_cranver".tar.gz")
md5sums=('c46bc0303c00f1763e0ad6b70108119b')

build(){
    R CMD INSTALL evaluate_"$_cranver".tar.gz -l "$srcdir"
}
package() {
    install -dm0755 "$pkgdir"/usr/lib/R/library
    cp -a --no-preserve=ownership evaluate "$pkgdir"/usr/lib/R/library
}