mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-hsaur3: init, checkdependency of r-rstanarm
This commit is contained in:
parent
cd6b1aa64e
commit
c133a9184e
3 changed files with 80 additions and 0 deletions
56
BioArchLinux/r-hsaur3/PKGBUILD
Normal file
56
BioArchLinux/r-hsaur3/PKGBUILD
Normal file
|
@ -0,0 +1,56 @@
|
|||
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
|
||||
|
||||
_pkgname=HSAUR3
|
||||
_pkgver=1.0-14
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgdesc="A Handbook of Statistical Analyses Using R (3rd Edition)"
|
||||
arch=(any)
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=(GPL2)
|
||||
depends=(
|
||||
r
|
||||
)
|
||||
optdepends=(
|
||||
r-ape
|
||||
r-coin
|
||||
r-flexmix
|
||||
r-formula
|
||||
r-gamair
|
||||
r-gamlss.data
|
||||
r-gee
|
||||
r-hsaur2
|
||||
r-lme4
|
||||
r-maps
|
||||
r-mboost
|
||||
r-mclust
|
||||
r-mice
|
||||
r-mlbench
|
||||
r-multcomp
|
||||
r-mvtnorm
|
||||
r-partykit
|
||||
r-quantreg
|
||||
r-randomforest
|
||||
r-rmeta
|
||||
r-sandwich
|
||||
r-scatterplot3d
|
||||
r-sf
|
||||
r-sp
|
||||
r-th.data
|
||||
r-vcd
|
||||
r-wordcloud
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
md5sums=('f2cd2053cefc5025deb4bdc0307249e1')
|
||||
sha256sums=('97af7c47ec07604e9adc48c91300cc6285852c82c5f0742d722e1c4d2ca151bb')
|
||||
|
||||
build() {
|
||||
mkdir -p build
|
||||
R CMD INSTALL "$_pkgname" -l build
|
||||
}
|
||||
|
||||
package() {
|
||||
install -d "$pkgdir/usr/lib/R/library"
|
||||
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
||||
}
|
14
BioArchLinux/r-hsaur3/lilac.py
Normal file
14
BioArchLinux/r-hsaur3/lilac.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||
from lilac_r_utils import r_pre_build
|
||||
|
||||
def pre_build():
|
||||
r_pre_build(_G)
|
||||
|
||||
def post_build():
|
||||
git_pkgbuild_commit()
|
||||
update_aur_repo()
|
10
BioArchLinux/r-hsaur3/lilac.yaml
Normal file
10
BioArchLinux/r-hsaur3/lilac.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: pekkarr
|
||||
email: pekkarr@protonmail.com
|
||||
update_on:
|
||||
- source: rpkgs
|
||||
pkgname: HSAUR3
|
||||
repo: cran
|
||||
md5: true
|
||||
- alias: r
|
Loading…
Add table
Reference in a new issue