examl: init

This commit is contained in:
Kuoi 2022-08-29 02:50:26 +01:00
parent f29c8872bd
commit 17062a586d
3 changed files with 59 additions and 0 deletions

View 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
}

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,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'