summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cbd075d01b248e6e398d1cc6fdd620bfe324b564 (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
# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com

_cranver=0.14
_cranname=evaluate
_pkgtar=${_cranname}_${_cranver}.tar.gz
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/${_pkgtar}")
md5sums=('8bcf26d1cc5b3f8fc14056ddfebcd295')

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
}