summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cfa535d2649bc37777f3aa0a7bcc35eec596b105 (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
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
# Contributor: Kiri <kiri@vern.cc>

_pkgname=mvnormtest
_pkgver=0.1-9-3
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Normality Test for Multivariate Variables"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
  r
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('5040046e51bee05b6191e1abff06875d')
b2sums=('2418137c4524291761ddb14a92f2fdab325663a034af5578210ec29e83d23583e378c19969b224cb1a1849a70755bba95b295a44cd078079938d6f149960c7c7')

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