add pylonium

This commit is contained in:
starsareintherose 2021-08-26 23:41:14 +08:00
parent 80fedec0c9
commit 8390c93c6d
3 changed files with 52 additions and 0 deletions

34
phylonium/PKGBUILD Normal file
View file

@ -0,0 +1,34 @@
# Maintainer: Fabian Klötzl <fabian-aur@kloetzl.info>
pkgname=phylonium
pkgver=1.5
pkgrel=1
pkgdesc="Fast and Accurate Estimation of Evolutionary Distances"
url="https://github.com/evolbioinf/phylonium/"
license=("GPL3") # "custom:ISC"
depends=("libdivsufsort")
arch=("i686" "x86_64")
checkdepends=("glib2")
source=("https://github.com/EvolBioInf/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('a84d738ba7a265d0da0d8178255810923f4aa76bf50253e727c46961805ca6a4')
prepare() {
cd "${pkgname}-${pkgver}"
}
check() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
make
make check
}
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}

10
phylonium/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
phylonium/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: EvolBioInf/phylonium
use_latest_release: true