mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
ncl: init for garli
This commit is contained in:
parent
77fe7e97a4
commit
59514e4da3
3 changed files with 45 additions and 0 deletions
27
BioArchLinux/ncl/PKGBUILD
Normal file
27
BioArchLinux/ncl/PKGBUILD
Normal 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
11
BioArchLinux/ncl/lilac.py
Normal 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()
|
7
BioArchLinux/ncl/lilac.yaml
Normal file
7
BioArchLinux/ncl/lilac.yaml
Normal 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}'
|
Loading…
Add table
Reference in a new issue