summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBioArchLinuxBot2022-08-18 08:01:29 +0000
committerBioArchLinuxBot2022-08-18 08:01:29 +0000
commit16fef388ce1ed3de30f03514b94b073e01ceecd2 (patch)
tree54cb366205fe854166bcc6756a037478af2637fe
parent056174c8a5fa0211bac2ffe620703b406c43f14b (diff)
downloadaur-16fef388ce1ed3de30f03514b94b073e01ceecd2.tar.gz
[lilac] updated to 0.16.3-2
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 521767b363c4..17d6ed8c7519 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
pkgbase = r-jaspmachinelearning
pkgdesc = Machine Learning Module for JASP
pkgver = 0.16.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/jasp-stats/jaspMachineLearning
- arch = x86_64
+ arch = any
groups = r-jasp
groups = r-jaspextra
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 4e2b6cb73c7c..fcb873e2c008 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,9 +3,9 @@ _pkgname=jaspMachineLearning
_pkgver=0.16.3
pkgname=r-${_pkgname,,}
pkgver=0.16.3
-pkgrel=1
+pkgrel=2
pkgdesc=" Machine Learning Module for JASP"
-arch=('x86_64')
+arch=('any')
url="https://github.com/jasp-stats/${_pkgname}"
license=('GPL')
depends=(r
@@ -44,13 +44,13 @@ sha256sums=('SKIP')
build() {
- mkdir -p ${srcdir}/usr/lib/R/library
- R -e "install.packages('${srcdir}/${_pkgname}',\
- type='source', repos=NULL,lib='${srcdir}/usr/lib/R/library', INSTALL_opts='--no-multiarch --no-docs --no-test-load')"
+ tar -cvf ${srcdir}/${_pkgname}_${_pkgver}.tar.gz ${_pkgname}
+ R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}
package() {
- cp -a --no-preserve=ownership "${srcdir}/usr" "${pkgdir}"
+ 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}
}