add phyml

This commit is contained in:
starsareintherose 2021-08-29 17:18:26 +08:00
parent 843c1ee216
commit d26e808fb6
3 changed files with 46 additions and 0 deletions

27
phyml/PKGBUILD Normal file
View file

@ -0,0 +1,27 @@
# Maintainer: Michael Schubert <mschu.dev at gmail>
# Contributor: Mick Elliot <micke at sfu dot ca>
pkgname=phyml
pkgver=3.3.20200621
pkgrel=1
epoch=1
pkgdesc="Builds phylogenies from DNA or protein sequences using a maximum likelihood approach"
arch=('i686' 'x86_64')
url="https://github.com/stephaneguindon/phyml"
license=('GPL2')
source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz)
sha256sums=('a8243923ee08c74cab609a4b086ade66c6156fc2b24450e2a500108dc644c867')
build() {
cd "$srcdir/phyml-$pkgver"
# aclocal
# autoreconf --force --install
# automake --force --add-missing
./autogen.sh
./configure --prefix=/usr --enable-phyml
make
}
package() {
cd "$srcdir/phyml-$pkgver"
make DESTDIR="$pkgdir" install
}

11
phyml/lilac.py Normal file
View file

@ -0,0 +1,11 @@
#!/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
phyml/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: stephaneguindon/phyml
use_latest_release: true