blob: ec95b603b6a2bcf6dd97cbce621f1ed5d36db027 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
#Maintainer: sukanka <su975853527 AT gmail.com>
_pkgname=jaspMachineLearning
_pkgver=0.16.4
pkgname=r-${_pkgname,,}
pkgver=0.16.4
pkgrel=1
pkgdesc=" Machine Learning Module for JASP"
arch=('any')
url="https://github.com/jasp-stats/${_pkgname}"
license=('GPL')
depends=(r
r-auc
r-cluster
r-colorspace
r-dbscan
r-e1071
r-fpc
r-gbm
r-gmedian
r-ggparty
r-ggdendro
r-ggnetwork
r-ggplot2
r-ggrepel
r-ggridges
r-glmnet
r-jaspbase
r-jaspgraphs
r-neuralnet
r-network
r-partykit
r-plyr
r-randomforest
r-rocr
r-rtsne
r-signal
r-kknn
)
groups=(r-jasp r-jaspextra)
makedepends=('git')
optdepends=()
source=("git+https://github.com/jasp-stats/${_pkgname}.git")
sha256sums=('SKIP')
build() {
tar -cvf ${srcdir}/${_pkgname}_${_pkgver}.tar.gz ${_pkgname}
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"
mkdir -p ${pkgdir}/usr/lib/jasp-desktop/Modules
ln -s /usr/lib/R/library ${pkgdir}/usr/lib/jasp-desktop/Modules/${_pkgname}
}
|