extra/flint to 3.1.3-2

This commit is contained in:
Kevin Mihelich 2024-06-23 13:50:47 +00:00
parent 8424d1af03
commit 7ac0db7fec
2 changed files with 13 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = flint
pkgdesc = A C library for doing number theory
pkgver = 3.1.3
pkgrel = 1
pkgrel = 2
url = http://www.flintlib.org
arch = x86_64
license = LGPL-3.0-only
@ -15,6 +15,8 @@ pkgbase = flint
replaces = antic
replaces = arb
source = git+https://github.com/flintlib/flint#tag=v3.1.3
source = https://github.com/flintlib/flint/commit/1b93e73d.patch
sha256sums = 085708b2cc50a98fd0e25d910eba66dfbc257acf37ce188b473ef9f741a3c322
sha256sums = d95327465594a0d52fa583347c64f8e79854fbee7a64527becbc15659af646ec
pkgname = flint

View file

@ -7,7 +7,7 @@
pkgname=flint
pkgver=3.1.3
pkgrel=1
pkgrel=2
pkgdesc='A C library for doing number theory'
arch=(x86_64)
url='http://www.flintlib.org'
@ -21,8 +21,15 @@ makedepends=(cmake
python)
replaces=(antic
arb)
source=(git+https://github.com/flintlib/flint#tag=v$pkgver)
sha256sums=('085708b2cc50a98fd0e25d910eba66dfbc257acf37ce188b473ef9f741a3c322')
source=(git+https://github.com/flintlib/flint#tag=v$pkgver
https://github.com/flintlib/flint/commit/1b93e73d.patch)
sha256sums=('085708b2cc50a98fd0e25d910eba66dfbc257acf37ce188b473ef9f741a3c322'
'd95327465594a0d52fa583347c64f8e79854fbee7a64527becbc15659af646ec')
prepare() {
cd $pkgname
patch -p1 -i ../1b93e73d.patch # Fix conflicts with complex.h
}
build() {
cmake -B build -S $pkgname \