From 17062a586d6fdd9f7157897ce028ac9485ef099b Mon Sep 17 00:00:00 2001 From: Kuoi Date: Mon, 29 Aug 2022 02:50:26 +0100 Subject: [PATCH] examl: init --- BioArchLinux/examl/PKGBUILD | 38 +++++++++++++++++++++++++++++++++++ BioArchLinux/examl/lilac.py | 12 +++++++++++ BioArchLinux/examl/lilac.yaml | 9 +++++++++ 3 files changed, 59 insertions(+) create mode 100644 BioArchLinux/examl/PKGBUILD create mode 100644 BioArchLinux/examl/lilac.py create mode 100644 BioArchLinux/examl/lilac.yaml diff --git a/BioArchLinux/examl/PKGBUILD b/BioArchLinux/examl/PKGBUILD new file mode 100644 index 0000000000..3d91d3bd10 --- /dev/null +++ b/BioArchLinux/examl/PKGBUILD @@ -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 +} + + diff --git a/BioArchLinux/examl/lilac.py b/BioArchLinux/examl/lilac.py new file mode 100644 index 0000000000..c6d1de3db7 --- /dev/null +++ b/BioArchLinux/examl/lilac.py @@ -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() diff --git a/BioArchLinux/examl/lilac.yaml b/BioArchLinux/examl/lilac.yaml new file mode 100644 index 0000000000..1981668b55 --- /dev/null +++ b/BioArchLinux/examl/lilac.yaml @@ -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'