From d26e808fb65e7012148fb874c51c7c802f307a5f Mon Sep 17 00:00:00 2001 From: starsareintherose Date: Sun, 29 Aug 2021 17:18:26 +0800 Subject: [PATCH] add phyml --- phyml/PKGBUILD | 27 +++++++++++++++++++++++++++ phyml/lilac.py | 11 +++++++++++ phyml/lilac.yaml | 8 ++++++++ 3 files changed, 46 insertions(+) create mode 100644 phyml/PKGBUILD create mode 100644 phyml/lilac.py create mode 100644 phyml/lilac.yaml diff --git a/phyml/PKGBUILD b/phyml/PKGBUILD new file mode 100644 index 0000000000..404388b5ac --- /dev/null +++ b/phyml/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Michael Schubert +# Contributor: Mick Elliot +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 +} diff --git a/phyml/lilac.py b/phyml/lilac.py new file mode 100644 index 0000000000..8a6e65aeba --- /dev/null +++ b/phyml/lilac.py @@ -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() diff --git a/phyml/lilac.yaml b/phyml/lilac.yaml new file mode 100644 index 0000000000..861d6520ed --- /dev/null +++ b/phyml/lilac.yaml @@ -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