mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-ecoindr: init
This commit is contained in:
parent
3ab5e0cb1b
commit
16b88b72ec
9 changed files with 184 additions and 0 deletions
42
BioArchLinux/r-ecoindr/PKGBUILD
Normal file
42
BioArchLinux/r-ecoindr/PKGBUILD
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||||
|
|
||||||
|
_pkgname=EcoIndR
|
||||||
|
_pkgver=2.0
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//[:-]/.}
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc='Ecological Indicators'
|
||||||
|
arch=('any')
|
||||||
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
|
license=('GPL-2.0-or-later')
|
||||||
|
depends=(
|
||||||
|
r
|
||||||
|
r-fd
|
||||||
|
r-picante
|
||||||
|
r-rarity
|
||||||
|
r-splancs
|
||||||
|
r-vegan
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
r-alphahull
|
||||||
|
r-geor
|
||||||
|
r-methods
|
||||||
|
r-mgcv
|
||||||
|
r-plotrix
|
||||||
|
r-raster
|
||||||
|
r-sf
|
||||||
|
r-shape
|
||||||
|
r-sp
|
||||||
|
)
|
||||||
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
|
sha256sums=('a')
|
||||||
|
|
||||||
|
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"
|
||||||
|
}
|
||||||
|
# vim:set ts=2 sw=2 et:
|
14
BioArchLinux/r-ecoindr/lilac.py
Normal file
14
BioArchLinux/r-ecoindr/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()
|
16
BioArchLinux/r-ecoindr/lilac.yaml
Normal file
16
BioArchLinux/r-ecoindr/lilac.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: starsareintherose
|
||||||
|
email: kuoi@bioarchlinux.org
|
||||||
|
repo_depends:
|
||||||
|
- r-fd
|
||||||
|
- r-picante
|
||||||
|
- r-rarity
|
||||||
|
- r-splancs
|
||||||
|
- r-vegan
|
||||||
|
update_on:
|
||||||
|
- source: rpkgs
|
||||||
|
pkgname: EcoIndR
|
||||||
|
repo: cran
|
||||||
|
md5: true
|
||||||
|
- alias: r
|
33
BioArchLinux/r-fd/PKGBUILD
Normal file
33
BioArchLinux/r-fd/PKGBUILD
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||||
|
|
||||||
|
_pkgname=FD
|
||||||
|
_pkgver=1.0-12.3
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//[:-]/.}
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc='Measuring Functional Diversity (FD) from Multiple Traits, and Other Tools for Functional Ecology'
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://cran.r-project.org/package=${_pkgname}"
|
||||||
|
license=('GPL-2.0-only')
|
||||||
|
depends=(
|
||||||
|
r
|
||||||
|
r-ade4
|
||||||
|
r-ape
|
||||||
|
r-geometry
|
||||||
|
r-vegan
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
gcc-fortran
|
||||||
|
)
|
||||||
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||||
|
sha256sums=('a')
|
||||||
|
|
||||||
|
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"
|
||||||
|
}
|
||||||
|
# vim:set ts=2 sw=2 et:
|
14
BioArchLinux/r-fd/lilac.py
Normal file
14
BioArchLinux/r-fd/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()
|
15
BioArchLinux/r-fd/lilac.yaml
Normal file
15
BioArchLinux/r-fd/lilac.yaml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: starsareintherose
|
||||||
|
email: kuoi@bioarchlinux.org
|
||||||
|
repo_depends:
|
||||||
|
- r-ade4
|
||||||
|
- r-ape
|
||||||
|
- r-geometry
|
||||||
|
- r-vegan
|
||||||
|
update_on:
|
||||||
|
- source: rpkgs
|
||||||
|
pkgname: FD
|
||||||
|
repo: cran
|
||||||
|
md5: true
|
||||||
|
- alias: r
|
26
BioArchLinux/r-rarity/PKGBUILD
Normal file
26
BioArchLinux/r-rarity/PKGBUILD
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||||
|
|
||||||
|
_pkgname=Rarity
|
||||||
|
_pkgver=1.3-8
|
||||||
|
pkgname=r-${_pkgname,,}
|
||||||
|
pkgver=${_pkgver//[:-]/.}
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc='Calculation of Rarity Indices for Species and Assemblages of Species'
|
||||||
|
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")
|
||||||
|
sha256sums=('a')
|
||||||
|
|
||||||
|
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"
|
||||||
|
}
|
||||||
|
# vim:set ts=2 sw=2 et:
|
14
BioArchLinux/r-rarity/lilac.py
Normal file
14
BioArchLinux/r-rarity/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-rarity/lilac.yaml
Normal file
10
BioArchLinux/r-rarity/lilac.yaml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: starsareintherose
|
||||||
|
email: kuoi@bioarchlinux.org
|
||||||
|
update_on:
|
||||||
|
- source: rpkgs
|
||||||
|
pkgname: Rarity
|
||||||
|
repo: cran
|
||||||
|
md5: true
|
||||||
|
- alias: r
|
Loading…
Add table
Reference in a new issue