garli: init

This commit is contained in:
Kuoi 2022-08-28 02:44:13 +01:00
parent a432ae44ba
commit 486de96b19
3 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,26 @@
pkgname=garli
pkgver=2.1
pkgrel=1
pkgdesc="Phylogenetic analysis of molecular sequence data using the maximum-likelihood criterion"
arch=('x86_64')
url="https://github.com/Ashod/garli"
license=('GPL2')
depends=('gcc-libs' 'ncl')
makedepends=('make' 'autoconf')
source=("$url/archive/refs/tags/$pkgver-release.tar.gz")
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname-$pkgver-release"
aclocal -I config
autoheader
automake --add-missing
autoreconf --force --install -v
./configure --prefix=/usr -with-ncl=/usr --disable-shared --enable-static
make
}
package() {
cd "$srcdir/$pkgname-$pkgver-release"
make DESTDIR="$pkgdir" install
}

View file

@ -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()

View file

@ -0,0 +1,14 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
update_on:
- source: github
github: Ashod/garli
use_max_tag: true
include_regex: (\d+.\d+)-release
- alias: alpm-lilac
alpm: ncl
strip_release: true
repo_depends:
- ncl