blob: 91c7b182862faed417b7a0c95e103df735e5533f (
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
|
# Maintainer: sukanka <su975853527@gmail.com>
_pkgname=DoE.base
_pkgver=1.2-4
pkgname=r-${_pkgname,,}
pkgver=1.2.4
pkgrel=1
pkgdesc='Full Factorials, Orthogonal Arrays and Base Utilities for DoE Packages'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
r
r-combinat
r-conf.design
r-numbers
r-partitions
r-vcd
)
optdepends=(
r-doe.wrapper
r-frf2
r-rcolorbrewer
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('c072c01eb59c997100306a1df6e2a2bfd4ad3d993e2d4156f59016123e8de053')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
}
# vim:set ts=2 sw=2 et:
|