mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-treedist: init
This commit is contained in:
parent
10807263fa
commit
3790463682
3 changed files with 98 additions and 0 deletions
64
BioArchLinux/r-treedist/PKGBUILD
Normal file
64
BioArchLinux/r-treedist/PKGBUILD
Normal file
|
@ -0,0 +1,64 @@
|
|||
# system requirements: C++17
|
||||
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||
|
||||
_pkgname=TreeDist
|
||||
_pkgver=2.7.0
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Calculate and Map Distances Between Phylogenetic Trees'
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('GPL')
|
||||
depends=(
|
||||
r
|
||||
r-ape
|
||||
r-cli
|
||||
r-colorspace
|
||||
r-memoise
|
||||
r-phangorn
|
||||
r-rcpp
|
||||
r-rdpack
|
||||
r-shiny
|
||||
r-shinyjs
|
||||
r-treetools
|
||||
)
|
||||
optdepends=(
|
||||
r-bookdown
|
||||
r-cluster
|
||||
r-ggplot2
|
||||
r-hypervolume
|
||||
r-kdensity
|
||||
r-knitr
|
||||
r-mass
|
||||
r-parallel
|
||||
r-plotly
|
||||
r-plottools
|
||||
r-protoclust
|
||||
r-quartet
|
||||
r-rcpp
|
||||
r-readxl
|
||||
r-rgl
|
||||
r-rmarkdown
|
||||
r-rogue
|
||||
r-spelling
|
||||
r-ternary
|
||||
r-testthat
|
||||
r-treedistdata
|
||||
r-treesearch
|
||||
r-umatrix
|
||||
r-uwot
|
||||
r-vdiffr
|
||||
)
|
||||
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-treedist/lilac.py
Normal file
14
BioArchLinux/r-treedist/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()
|
20
BioArchLinux/r-treedist/lilac.yaml
Normal file
20
BioArchLinux/r-treedist/lilac.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
repo_depends:
|
||||
- r-ape
|
||||
- r-cli
|
||||
- r-colorspace
|
||||
- r-memoise
|
||||
- r-phangorn
|
||||
- r-rcpp
|
||||
- r-rdpack
|
||||
- r-shiny
|
||||
- r-shinyjs
|
||||
- r-treetools
|
||||
update_on:
|
||||
- source: rpkgs
|
||||
repo: cran
|
||||
md5: true
|
||||
pkgname: TreeDist
|
||||
- alias: r
|
Loading…
Add table
Reference in a new issue