diff --git a/modeltest-ng/PKGBUILD b/modeltest-ng/PKGBUILD new file mode 100644 index 0000000000..996d7ca3e6 --- /dev/null +++ b/modeltest-ng/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Guoyi ("malcology") +# Contributor: Guoyi ("malcology") + +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}" +} diff --git a/modeltest-ng/lilac.py b/modeltest-ng/lilac.py new file mode 100644 index 0000000000..8c66f58ed6 --- /dev/null +++ b/modeltest-ng/lilac.py @@ -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() diff --git a/modeltest-ng/lilac.yaml b/modeltest-ng/lilac.yaml new file mode 100644 index 0000000000..d9083a3ceb --- /dev/null +++ b/modeltest-ng/lilac.yaml @@ -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