mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
examl: init
This commit is contained in:
parent
f29c8872bd
commit
17062a586d
3 changed files with 59 additions and 0 deletions
38
BioArchLinux/examl/PKGBUILD
Normal file
38
BioArchLinux/examl/PKGBUILD
Normal file
|
@ -0,0 +1,38 @@
|
|||
pkgbase=examl
|
||||
pkgname=('examl' 'examl-mpi')
|
||||
_pkgname=ExaML
|
||||
pkgver=3.0.22
|
||||
pkgrel=1
|
||||
arch=('x86_64')
|
||||
url="https://github.com/stamatak/ExaML"
|
||||
makedepends=('make' 'gcc')
|
||||
license=('GPL')
|
||||
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
|
||||
md5sums=('ad62d8c333cee316732c10f719c1e87c')
|
||||
|
||||
build() {
|
||||
cd "${_pkgname}-$pkgver"
|
||||
cd $pkgname
|
||||
make -f Makefile.AVX.gcc
|
||||
make -f Makefile.OMP.AVX.gcc
|
||||
}
|
||||
|
||||
package_examl() {
|
||||
pkgdesc="Exascale Maximum Likelihood https://doi.org/10.1093/bioinformatics/btv184"
|
||||
depends=('gcc-libs')
|
||||
|
||||
cd "${_pkgname}-$pkgver"
|
||||
cd $pkgbase
|
||||
install -Dm 755 $pkgbase-AVX $pkgdir/usr/bin/$pkgname
|
||||
}
|
||||
|
||||
package_examl-mpi(){
|
||||
pkgdesc="Exascale Maximum Likelihood https://doi.org/10.1093/bioinformatics/btv184"
|
||||
depends=('gcc-libs' 'openmpi')
|
||||
|
||||
cd "${_pkgname}-$pkgver"
|
||||
cd $pkgbase
|
||||
install -Dm 755 $pkgbase-OMP-AVX $pkgdir/usr/bin/$pkgname
|
||||
}
|
||||
|
||||
|
12
BioArchLinux/examl/lilac.py
Normal file
12
BioArchLinux/examl/lilac.py
Normal 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()
|
9
BioArchLinux/examl/lilac.yaml
Normal file
9
BioArchLinux/examl/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
update_on:
|
||||
- source: github
|
||||
github: stamatak/ExaML
|
||||
use_max_tag: true
|
||||
prefix: 'v'
|
Loading…
Add table
Reference in a new issue