blob: e45c68e5ee56ebf548c60232289689a1e600a1a4 (
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
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
# Contributor: Robert Greener <me@r0bert.dev>
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
_pkgname=lmtest
_pkgver=0.9-40
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=8
pkgdesc="Testing Linear Regression Models"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only OR GPL-3.0-only')
depends=(
r-zoo
)
makedepends=(
gcc-fortran
)
optdepends=(
r-aer
r-car
r-dynlm
r-sandwich
r-strucchange
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('f3ae15407707b219b2bdc5c72405d21b')
b2sums=('b5a8bbe9b8759b72a789b4eca8d09e97fd8b4ebda67957d93622add329caacf3066d25f7cc656fe55644311a503eff466fc31cf68e4472d43ca57b28db872ebc')
build() {
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
}
|