This commit is contained in:
starsareintherose 2021-12-10 23:58:17 +00:00
parent 7dde6f709d
commit d390c0eaf0
3 changed files with 41 additions and 0 deletions

22
trimal/PKGBUILD Normal file
View file

@ -0,0 +1,22 @@
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
pkgname=trimal
pkgver=1.4.1
pkgrel=1
pkgdesc="A tool for automated alignment trimming in large-scale phylogenetic analyses"
arch=('x86_64')
url="trimal.cgenomics.org"
license=('GPL')
depends=()
makedepends=('make')
source=(https://github.com/inab/trimal/archive/refs/tags/v${pkgver}.zip)
sha256sums=('3747c3ba3bc930a97a4bcc095fe81238433ffda27a3d09dde6331a86f9b49a40')
build() {
cd "$pkgname-$pkgver"/source
make
}
package() {
cd "$pkgname-$pkgver"/source
install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname
}

10
trimal/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()

9
trimal/lilac.yaml Normal file
View file

@ -0,0 +1,9 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
update_on:
- source: github
github: inab/trimal
use_max_tag: true
include_regex: v(\d+.\d+.\d+)