phylip: source web mv

This commit is contained in:
Kuoi 2023-10-11 17:13:05 +08:00
parent d4688f2be6
commit 15d2736831
3 changed files with 8 additions and 13 deletions

View file

@ -6,8 +6,8 @@ pkgver=3.698
pkgrel=5
pkgdesc="A collection of programmes for evolutive genetics and inferring phylogenies. https://doi.org/10.1111/j.1096-0031.1989.tb00562.x"
arch=('i686' 'x86_64')
url="http://evolution.genetics.washington.edu/phylip.html"
source=(http://evolution.gs.washington.edu/phylip/download/phylip-$pkgver.zip
url="https://github.com/felsenst/phylip"
source=(https://github.com/phylipweb/phylip/raw/main/download/phylip-$pkgver.zip
phylip-3.698-makefile.patch
phylip-3.698-fno-common.patch)
optdepends=('java-runtime')

View file

@ -1,10 +0,0 @@
#!/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()

View file

@ -2,7 +2,12 @@ maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
build_prefix: extra-x86_64
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
post_build_script: |
git_pkgbuild_commit()
update_on:
- source: regex
url: "https://evolution.gs.washington.edu/phylip/download/"
url: "https://github.com/phylipweb/phylip/tree/main/download"
regex: phylip-(\d+.\d+).zip