libmaus: fix the gcc13

This commit is contained in:
Guoyi Zhang 2025-02-08 16:26:02 +11:00
parent 6df5459eff
commit edf35b2f5f

View file

@ -7,10 +7,18 @@ pkgrel=4
pkgdesc="Bioinformatics data structures and algorithms in C++"
arch=('x86_64')
url=https://gitlab.com/german.tischler/libmaus2
license=('GPL2')
source=(https://gitlab.com/german.tischler/"${pkgname}"2/-/archive/"${pkgver//_/-}"/"${pkgname}"2-"${pkgver//_/-}".tar.gz)
sha256sums=('08e6dee0fcb68253e1edd1e442650104051b096ffa8417b05f8b6f2aa04018e4')
license=('GPL-2.0-or-later')
source=(https://gitlab.com/german.tischler/"${pkgname}"2/-/archive/"${pkgver//_/-}"/"${pkgname}"2-"${pkgver//_/-}".tar.gz
"gcc13.patch::https://gitlab.com/german.tischler/libmaus2/-/merge_requests/22.patch")
sha256sums=('08e6dee0fcb68253e1edd1e442650104051b096ffa8417b05f8b6f2aa04018e4'
'3f5a37c3c0a5cf5b0252a278ea434d98bbcf044e09712a0560740275f2555c5f')
makedepends=('make' 'gcc' 'boost')
prepare() {
cd "${srcdir}"/libmaus2-"${pkgver//_/-}"
patch -p1 < $srcdir/gcc13.patch
}
build() {
cd "${srcdir}"/libmaus2-"${pkgver//_/-}"
./configure --prefix="${pkgdir}"/usr --exec-prefix "${pkgdir}"/