summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 694336df168297e4ffeb47a6d28e279bdee66eac (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
# Maintainer: Alex Branham <branham@utexas.edu>
_cranname=cellranger
_cranver=1.1.0
_pkgtar=${_cranname}_${_cranver}.tar.gz
pkgname=r-cellranger
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Translate Spreadsheet Cell Ranges to Rows and Columns"
arch=('any')
url="https://cran.r-project.org/web/packages/${_cranname}/index.html"
license=('MIT')
depends=('r' 'r-rematch' 'r-tibble')

optdepends=('r-covr' 'r-testthat' 'r-knitr' 'r-rmarkdown')

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

build(){
    R CMD INSTALL ${_pkgtar} -l $srcdir
}
package() {
    install -d "$pkgdir/usr/lib/R/library"
    cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
}