add modeltest-ng

This commit is contained in:
starsareintherose 2021-08-23 14:11:57 +08:00
parent e18a33a0ca
commit 360292a76d
3 changed files with 39 additions and 0 deletions

21
modeltest-ng/PKGBUILD Normal file
View file

@ -0,0 +1,21 @@
# Maintainer: Guoyi ("malcology") <guoyizhang@malacology.net>
# Contributor: Guoyi ("malcology") <guoyizhang@malacology.net>
pkgname=modeltest-ng
pkgver=0.1.7
pkgrel=1
pkgdesc="A New and Scalable Tool for the Selection of DNA and Protein Evolutionary Models"
url='https://github.com/ddarriba/modeltest'
arch=('x86_64')
license=('GPL3')
source=("https://github.com/ddarriba/modeltest/files/6192913/modeltest-ng-${pkgver}-static.tar.gz")
sha256sums=('aab174ad96a420829ae02b0ed9802d008c7a67d5b48e4a7e7741d29b186a1097')
prepare() {
cd "${srcdir}"
}
package() {
install -dm755 "${pkgdir}"/usr/bin
install -Dm755 "${srcdir}/modeltest-ng-static" "${pkgdir}/usr/bin/${pkgname}"
}

10
modeltest-ng/lilac.py Normal 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'))
def post_build():
git_add_files('PKGBUILD')
git_commit()

8
modeltest-ng/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: ddarriba/modeltest
use_latest_release: true