blob: 556daa4c46248c555774bd275db40f04b48798f0 (
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: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=MindOnStats
_pkgver=0.11
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc="Data sets included in Utts and Heckard's Mind on Statistics"
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=('9bd4188808198984d7e948ed78492997')
b2sums=('17bfa3b07ad8f49219f546c75b01e3694c5102030100d879157f46790533815954e9630ae8a123d2aa5d0070b3aeb9f8286ac0db7ed8403fbd6a284bc3dace14')
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"
}
|