blob: e8fc479852a8b9ad77213a4ad077806e614b92ab (
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
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
# Contributor: sukanka <su975853527@gmail.com>
# Contributor: Phil Schaf
_pkgname=clusterGeneration
_pkgver=1.3.8
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc="Random Cluster Generation (with Specified Degree of Separation)"
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=('d218d619e9615d747da257e0c7d78b6b')
b2sums=('6b69c2b67497f83107c52c0a7a956b89d04257162f503f9c85f0579389d7b6b64af45629b6d7e0faa8256434d5c2add54cc01cee4e2ccf25ee6e4919016650b3')
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"
}
|