extra/flint to 3.1.0-1

This commit is contained in:
Kevin Mihelich 2024-02-25 23:47:16 +00:00
parent da3e0e6c3a
commit f779842947
3 changed files with 15 additions and 18 deletions

View file

@ -1,10 +1,10 @@
pkgbase = flint
pkgdesc = A C library for doing number theory
pkgver = 3.0.1
pkgrel = 2
pkgver = 3.1.0
pkgrel = 1
url = http://www.flintlib.org
arch = x86_64
license = GPL
license = LGPL-3.0-only
makedepends = cmake
makedepends = python
depends = cblas
@ -13,9 +13,7 @@ pkgbase = flint
depends = mpfr
replaces = antic
replaces = arb
source = http://www.flintlib.org/flint-3.0.1.tar.gz
source = https://github.com/flintlib/flint/commit/88bcb2ee.patch
sha256sums = 7b311a00503a863881eb8177dbeb84322f29399f3d7d72f3b1a4c9ba1d5794b4
sha256sums = 2d21909660310d1651639f9dc941abc78f1b0f0cc8f13741fe6ef5c295548d88
source = http://www.flintlib.org/flint-3.1.0.tar.gz
sha256sums = b30df05fa81de49c20d460edccf8c410279d1cf8410f2d425f707b48280a2be2
pkgname = flint

View file

@ -0,0 +1,5 @@
[flint]
source = 'github'
github = 'flintlib/flint'
use_max_tag = true
prefix = 'v'

View file

@ -6,12 +6,12 @@
# - disable LTO via -DIPO_SUPPORTED=FALSE
pkgname=flint
pkgver=3.0.1
pkgrel=2
pkgver=3.1.0
pkgrel=1
pkgdesc='A C library for doing number theory'
arch=(x86_64)
url='http://www.flintlib.org'
license=(GPL)
license=(LGPL-3.0-only)
depends=(cblas
glibc
gmp
@ -20,14 +20,8 @@ makedepends=(cmake
python)
replaces=(antic
arb)
source=(http://www.flintlib.org/flint-$pkgver.tar.gz
https://github.com/flintlib/flint/commit/88bcb2ee.patch)
sha256sums=('7b311a00503a863881eb8177dbeb84322f29399f3d7d72f3b1a4c9ba1d5794b4'
'2d21909660310d1651639f9dc941abc78f1b0f0cc8f13741fe6ef5c295548d88')
prepare() {
patch -d $pkgname-$pkgver -p1 < 88bcb2ee.patch # Fix full version in config header
}
source=(http://www.flintlib.org/flint-$pkgver.tar.gz)
sha256sums=('b30df05fa81de49c20d460edccf8c410279d1cf8410f2d425f707b48280a2be2')
build() {
cmake -B build -S $pkgname-$pkgver \