seqan3: fix gcc 13 issue

This commit is contained in:
Kuoi 2023-07-15 08:36:09 +08:00
parent 225d124bc7
commit ad3a29272a
3 changed files with 14 additions and 13 deletions

View file

@ -1,18 +1,24 @@
pkgname=seqan3
pkgver=3.2.0
pkgrel=1
pkgdesc="The modern C++ library for sequence analysis. Contains version 3 of the library and API docs. https://doi.org/10.1016/j.jbiotec.2017.07.017"
pkgdesc="The modern C++ library for sequence analysis \
https://doi.org/10.1016/j.jbiotec.2017.07.017"
arch=("any")
url="http://www.seqan.de"
depends=()
makedepends=('cmake' 'git' 'bzip2' 'zlib' 'glibc' 'gcc-libs' 'cereal')
license=('CCPL' 'CC0' 'BSD')
source=("git+https://github.com/seqan/seqan3.git#tag=${pkgver}")
sha256sums=('SKIP')
source=("git+https://github.com/seqan/seqan3.git#tag=${pkgver}"
"sdsl-lite.patch::https://github.com/xxsds/sdsl-lite/commit/607019d52b10bb8eb399e6fc9578eaf0a150f9c4.patch")
sha256sums=('SKIP'
'e690a0f2b27a608edb683c871ba87e387d5cd5e323bc39944302131b988eda13')
prepare (){
cd ${pkgname}
git submodule update --init --recursive
cd $pkgname/submodule/sdsl-lite
patch -p1 < $srcdir/sdsl-lite.patch
}
build() {
cd ${pkgname}

View file

@ -1,10 +0,0 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
def post_build():
git_add_files('PKGBUILD')
git_commit()

View file

@ -2,6 +2,11 @@ build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
post_build_script: |
git_pkgbuild_commit()
update_on:
- source: github
github: seqan/seqan3