mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
Add jaspRobustTTests module (#189)
This commit is contained in:
parent
4dc8568100
commit
f4ed26f9e5
3 changed files with 57 additions and 0 deletions
|
@ -14,6 +14,7 @@ repo_depends:
|
|||
- "r-jaspanova"
|
||||
- "r-jaspmixedmodels"
|
||||
- "r-jaspregression"
|
||||
- "r-jasprobustttests"
|
||||
- "r-jaspfrequencies"
|
||||
- "r-jaspfactor"
|
||||
- "r-jaspaudit"
|
||||
|
|
32
BioArchLinux/r-jasprobustttests/PKGBUILD
Normal file
32
BioArchLinux/r-jasprobustttests/PKGBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
#Maintainer: sukanka <su975853527 AT gmail.com>
|
||||
_pkgname=jaspRobustTTests
|
||||
_pkgver=0.18.0
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=0.18.0
|
||||
pkgrel=1
|
||||
pkgdesc="A robust T-Test module for JASP"
|
||||
arch=('any')
|
||||
url="https://github.com/jasp-stats/${_pkgname}"
|
||||
license=('GPL')
|
||||
depends=(
|
||||
r
|
||||
r-ggplot2
|
||||
r-robtt
|
||||
r-jaspbase
|
||||
r-jaspgraphs
|
||||
)
|
||||
groups=(r-jasp r-jaspextra)
|
||||
source=("${_pkgname}_${_pkgver}.tar.gz::${url}/archive/refs/tags/v${_pkgver}.tar.gz")
|
||||
sha256sums=('e3fad53e2fa96259a4c7adacfa5f2b8a578839b5bbb3bee963aba7b208192bf9')
|
||||
|
||||
|
||||
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"
|
||||
mkdir -p ${pkgdir}/usr/lib/jasp-desktop/Modules
|
||||
ln -s /usr/lib/R/library ${pkgdir}/usr/lib/jasp-desktop/Modules/${_pkgname}
|
||||
}
|
24
BioArchLinux/r-jasprobustttests/lilac.yaml
Normal file
24
BioArchLinux/r-jasprobustttests/lilac.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
maintainers:
|
||||
- github: sukanka
|
||||
email: su975853527@gmail.com
|
||||
build_prefix: extra-x86_64
|
||||
post_build_script: |
|
||||
git_pkgbuild_commit()
|
||||
update_aur_repo()
|
||||
pre_build_script: |
|
||||
for line in edit_file('PKGBUILD'):
|
||||
if line.startswith('_pkgver='):
|
||||
line = f'_pkgver={_G.newver}'
|
||||
print(line)
|
||||
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
|
||||
repo_depends:
|
||||
- r-ggplot2
|
||||
- r-robtt
|
||||
- r-jaspbase
|
||||
- r-jaspgraphs
|
||||
update_on:
|
||||
- source: github
|
||||
github: jasp-stats/jaspRobustTTests
|
||||
use_max_tag: true
|
||||
prefix: v
|
||||
- alias: r
|
Loading…
Add table
Reference in a new issue