jml: init

This commit is contained in:
Kuoi 2022-08-28 00:46:40 +01:00
parent 4101b79340
commit cc78f0be09
3 changed files with 43 additions and 0 deletions

22
BioArchLinux/jml/PKGBUILD Normal file
View file

@ -0,0 +1,22 @@
pkgname=jml
pkgver=1.3.1
pkgrel=1
pkgdesc="Testing hybridization using species trees https://doi.org/10.1111/j.1755-0998.2011.03065.x"
arch=(x86_64)
url="https://github.com/simjoly/jml"
license=('GPL3')
makedepends=('make' 'gcc')
source=("$pkgname-$pkgver::$url/archive/v${pkgver}.tar.gz")
md5sums=('39d2beae56982e75e68cc06ce5c571f7')
build() {
cd $pkgname-${pkgver}
cd src
make
}
package() {
cd $pkgname-$pkgver
cd src
install -Dm 755 $pkgname $pkgdir/usr/bin/$pkgname
}

12
BioArchLinux/jml/lilac.py Normal file
View file

@ -0,0 +1,12 @@
#!/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()
update_aur_repo()

View file

@ -0,0 +1,9 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
update_on:
- source: github
github: simjoly/jml
use_latest_release: true
prefix: 'v'