oblong: init

This commit is contained in:
Kuoi 2022-08-29 20:53:14 +01:00
parent eed6f9aa0b
commit 5cfd6a1160
3 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,22 @@
# Maintainer: Guoyi Zhang <myname at malacology dot net>
pkgname=oblong
pkgver=2014.03.10
pkgrel=1
pkgdesc="A program to analyse phylogenomic data sets with millions of characters, requiring negligible amounts of RAM. https://doi.org/10.1111/cla.12056"
arch=(x86_64)
url="http://www.lillo.org.ar/phylogeny/oblong/"
license=('GPL2')
depends=('gcc-libs')
makedepends=('gcc')
source=("http://www.lillo.org.ar/phylogeny/oblong/oblong.zip")
md5sums=('858960b23c1fdfe81834957ef47c4670')
build() {
gcc -lm -O3 -o $pkgname -DBITS64 $pkgname.c
}
package() {
chmod +x $pkgname
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 http://www.lillo.org.ar/phylogeny/oblong/ | grep 'oblong.zip' | awk '{print $7}' | sed 's/-/./g'