ncl: init for garli

This commit is contained in:
Kuoi 2022-08-28 02:15:30 +01:00
parent 77fe7e97a4
commit 59514e4da3
3 changed files with 45 additions and 0 deletions

27
BioArchLinux/ncl/PKGBUILD Normal file
View file

@ -0,0 +1,27 @@
pkgname=ncl
pkgver=2.1.21
pkgrel=1
pkgdesc="Nexus Class Library"
arch=('x86_64')
url="https://github.com/mtholder/ncl"
license=('GPL2')
conflicts=('phyml-mpi')
depends=('gcc-libs')
makedepends=('make' 'autoconf' 'git')
source=(git+$url.git)
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
aclocal -I config
autoheader
automake --add-missing
autoreconf --force --install -v
./configure --prefix=/usr --with-constfuncs
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" install
}

11
BioArchLinux/ncl/lilac.py Normal file
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,7 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
update_on:
- source: cmd
cmd: curl -sS https://raw.githubusercontent.com/mtholder/ncl/master/README.md | grep 'version' | sed 's/-dev/ /g' | head -n 1 | awk '{print $4}'