parsimonator: init

This commit is contained in:
Kuoi 2022-08-29 02:50:44 +01:00
parent 17062a586d
commit 8f7e274c70
3 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,22 @@
pkgname=parsimonator
pkgver=1.0.2
pkgrel=1
pkgdesc="A fast open-source parsimony program"
arch=('x86_64')
url="https://github.com/stamatak/Parsimonator-1.0.2"
depends=('gcc-libs')
makedepends=('make' 'gcc')
license=('unknow')
source=("git+$url.git")
md5sums=('SKIP')
build() {
cd "${pkgname^}-$pkgver"
make -f Makefile.gcc
}
package() {
cd "${pkgname^}-$pkgver"
install -Dm 755 $pkgname $pkgdir/usr/bin/$pkgname
}

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,7 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
update_on:
- source: cmd
cmd: curl -sS https://cme.h-its.org/exelixis/web/software/parsimonator/index.html | grep 'source code' | awk '{print $2}' | sed 's/v//g'