summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e4755a437645d7b24345f93d8d37cd21cff8f293 (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: Taekyung Kim <Taekyung.Kim.Maths@gmail.com>

_cranname=ellipsis
_cranver=0.3.0
_pkgtar=${_cranname}_${_cranver}.tar.gz
pkgname=r-ellipsis
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Tools for Working with ..."
arch=('i686' 'x86_64')
url="https://cran.r-project.org/package=${_cranname}"
license=('GPL3')
depends=('r>=3.2' 'r-rlang>=0.3.0')
optdepends=('r-covr' 'r-testthat')

source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
md5sums=('0c696c543f7115f346085acee25ab359')

build(){
    R CMD INSTALL "${_pkgtar}" -l "$srcdir"
}
package() {
    install -dm0755 "$pkgdir"/usr/lib/R/library
    cp -a --no-preserve=ownership "$_cranname" "$pkgdir"/usr/lib/R/library
}