aevol: Add version 5.0

This commit is contained in:
bipin kumar 2023-05-08 23:59:06 +05:30
parent 20b75cfbab
commit 6db34ae6ad
No known key found for this signature in database
GPG key ID: C67233497C15E476
3 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,36 @@
# Maintainer:Bipin Kumar <kbipinkumar@pm.me>
pkgname=aevol
pkgver=5.0
pkgrel=1
pkgdesc="an open-source digital genetics platform that captures the evolutionary process"
arch=('x86_64')
url="https://www.aevol.fr/"
license=('GPL3')
depends=('boost' 'glibc' 'gcc-libs' 'zlib' 'libx11')
makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.inria.fr/aevol/aevol/-/archive/v5.0/aevol-v${pkgver}.tar.gz"
'automake.patch')
b2sums=('fd056e9bfe272236ba3912584d5428fb2f08e34f89e57476297720c595910d24db4656d8bf0cecf1ba1aab58a3c9b1110eb35a7ff50c0c32e62c1f79873d799d'
'fb3a6f3deec5645aa2f0ae5c3b99d85ffff9a95f22bc0ae11be459a5ac5908df6acd0afe5b5c7182b6995f2ca2bda62e9d55852c3200681ab9b2393641ce952d')
prepare(){
cp automake.patch "$pkgname-v$pkgver"/
cd "$pkgname-v$pkgver"
patch -p1 < automake.patch
autoreconf -i
automake
}
build() {
cd "$pkgname-v$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$pkgname-v$pkgver"
make DESTDIR="${pkgdir}"/ install
}

View file

@ -0,0 +1,24 @@
Description: Do not call AM_INIT_AUTOMAKE twice
Bug-Debian: https://bugs.debian.org/998479
Author: Andreas Tille <tille@debian.org>
Last-Update: Fri, 05 Nov 2021 22:03:24 +0100
Reviewed-By: Étienne Mollier <emollier@debian.org>
--- aevol.orig/configure.ac
+++ aevol/configure.ac
@@ -20,7 +20,7 @@
AC_CONFIG_MACRO_DIR([m4])
# We want to use automake
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([subdir-objects])
# Select compiler
AC_PROG_CXX([clang-omp++ clang++ g++ icc])
@@ -298,7 +298,6 @@
AM_CONDITIONAL(WITH_RAEVOL, test x"$raevol" != xno)
if test "x$raevol" = "xyes" ; then
AC_DEFINE(__REGUL)
- AM_INIT_AUTOMAKE([subdir-objects])
fi
# ************************* --with-blas option *******************************

View file

@ -0,0 +1,18 @@
build_prefix: extra-x86_64
maintainers:
- github: kbipinkumar
email: kbipinkumar@pm.me
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: gitlab
gitlab: aevol/aevol
host: gitlab.inria.fr
use_max_tag: true
include_regex: v\d\.\d(\.\d)?