add phylonet

This commit is contained in:
starsareintherose 2021-11-02 21:22:01 +00:00
parent cf9bdf7555
commit 6018d2b58d
3 changed files with 40 additions and 0 deletions

22
phylonet/PKGBUILD Normal file
View file

@ -0,0 +1,22 @@
# Maintainer: Malacology <guoyizhang at malacology dot com>
# Contributor: Malacology <guoyizhang at malacology dot com>
pkgname=phylonet
_installname=PhyloNet
pkgver=3.8.3
pkgrel=1
depends=(
'java-runtime'
)
pkgdesc="TA suite of software tools for reconstructing/analyzing phylogenetic networks in the presence of reticulate evolutionary events"
arch=('x86_64')
url="https://bioinfocs.rice.edu/PhyloNet"
license=('GPL2')
source=(""https://github.com/NakhlehLab/PhyloNet/releases/download/${pkgver}/PhyloNet.jar)
sha256sums=('a03a4be48f0bd40b8b98b8c99be09bf8a3d509995d4d36aa1e33ecdfeb14c4a6')
package() {
install -dm755 "$pkgdir"/usr/share
install -Dm644 ${srcdir}/${_installname}.jar ${pkgdir}/usr/share/phylonet/${_installname}.jar
}

10
phylonet/lilac.py Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
def post_build():
git_add_files('PKGBUILD')
git_commit()

8
phylonet/lilac.yaml Normal file
View file

@ -0,0 +1,8 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
update_on:
- source: github
github: NakhlehLab/PhyloNet
use_max_tag: true