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

_cranname=pbkrtest
_cranver=0.4-7
_pkgtar=${_cranname}_${_cranver}.tar.gz
pkgname=r-pbkrtest
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Parametric Bootstrap and Kenward Roger Based Methods for Mixed Model Comparison"
arch=('any')
url="https://cran.r-project.org/package=${_cranname}"
license=('GPL2' 'GPL3')
depends=('r>=3.2.3' 'r-lme4>=1.1.10')
makedepends=()
optdepends=()
source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
md5sums=('4c99b91ffbc441e2efdbd9258cb0ea16')

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
}