mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-quartet: init
Signed-off-by: Guoyi Zhang <kuoi@bioarchlinux.org>
This commit is contained in:
parent
2e9a58907a
commit
c1f754c416
3 changed files with 72 additions and 0 deletions
42
BioArchLinux/r-quartet/PKGBUILD
Normal file
42
BioArchLinux/r-quartet/PKGBUILD
Normal file
|
@ -0,0 +1,42 @@
|
|||
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||
|
||||
_pkgname=Quartet
|
||||
_pkgver=1.2.6
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//[:-]/.}
|
||||
pkgrel=1
|
||||
pkgdesc='Comparison of Phylogenetic Trees Using Quartet and Split Measures'
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=${_pkgname}"
|
||||
license=('GPL')
|
||||
depends=(
|
||||
r
|
||||
r-ape
|
||||
r-rcpp
|
||||
r-rdpack
|
||||
r-ternary
|
||||
r-treetools
|
||||
r-viridislite
|
||||
)
|
||||
optdepends=(
|
||||
r-bookdown
|
||||
r-knitr
|
||||
r-phangorn
|
||||
r-rcpp
|
||||
r-rmarkdown
|
||||
r-testthat
|
||||
r-usethis
|
||||
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-quartet/lilac.py
Normal file
14
BioArchLinux/r-quartet/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-quartet/lilac.yaml
Normal file
16
BioArchLinux/r-quartet/lilac.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
repo_depends:
|
||||
- r-ape
|
||||
- r-rcpp
|
||||
- r-rdpack
|
||||
- r-ternary
|
||||
- r-treetools
|
||||
- r-viridislite
|
||||
update_on:
|
||||
- source: rpkgs
|
||||
repo: cran
|
||||
md5: true
|
||||
pkgname: Quartet
|
||||
- alias: r
|
Loading…
Add table
Reference in a new issue