summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 380931e4a7c71b142c8642eed95f45ed2ced57e4 (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
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>

_pkgname=mvnormalTest
_pkgver=1.0.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=3
pkgdesc="Powerful Tests for Multivariate Normality"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
  r-copula
  r-moments
  r-nortest
)
optdepends=(
  r-knitr
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('f3525fd9bd8d908ba0b2201a3f147039')
b2sums=('66e8dd404ea7e16f42e286f5432ec9993f4fade45795823258e81087b7f2fe048b2b94ec650a61d7ee9453689f2fad916b412416d081ba07186ec042b884ac8b')

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"
}