mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/flint to 3.0.1-2
This commit is contained in:
parent
03d9f1a5bb
commit
7147e2934e
2 changed files with 12 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
pkgbase = flint
|
||||
pkgdesc = A C library for doing number theory
|
||||
pkgver = 3.0.1
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = http://www.flintlib.org
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
|
@ -14,6 +14,8 @@ pkgbase = flint
|
|||
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
|
||||
|
||||
pkgname = flint
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgname=flint
|
||||
pkgver=3.0.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='A C library for doing number theory'
|
||||
arch=(x86_64)
|
||||
url='http://www.flintlib.org'
|
||||
|
@ -20,8 +20,14 @@ makedepends=(cmake
|
|||
python)
|
||||
replaces=(antic
|
||||
arb)
|
||||
source=(http://www.flintlib.org/flint-$pkgver.tar.gz)
|
||||
sha256sums=('7b311a00503a863881eb8177dbeb84322f29399f3d7d72f3b1a4c9ba1d5794b4')
|
||||
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
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake -B build -S $pkgname-$pkgver \
|
||||
|
|
Loading…
Reference in a new issue