summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 828afc7d0f65784cb60568315d5827685783b144 (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=DBI
_cranver=1.0.0
_pkgtar=${_cranname}_${_cranver}.tar.gz
pkgname=r-dbi
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="R Database Interface"
arch=('any')
url="https://cran.r-project.org/package=${_cranname}"
license=('LGPL')
depends=('r' )

optdepends=('r-blob' 'r-covr' 'r-hms' 'r-knitr' 'r-magrittr' 'r-rprojroot' 'r-rmarkdown' 'r-rsqlite' 'r-testthat' 'r-xml2')

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

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