# Maintainer: Antonio Rojas # Contributor: Rémy Oudompheng # Contributor: Alessandro "jakedust" Andrioni # ALARM: Kevin Mihelich # - disable LTO via -DIPO_SUPPORTED=FALSE pkgname=flint pkgver=3.0.1 pkgrel=1 pkgdesc='A C library for doing number theory' arch=(x86_64) url='http://www.flintlib.org' license=(GPL) depends=(cblas glibc gmp mpfr) makedepends=(cmake python) replaces=(antic arb) source=(http://www.flintlib.org/flint-$pkgver.tar.gz) sha256sums=('7b311a00503a863881eb8177dbeb84322f29399f3d7d72f3b1a4c9ba1d5794b4') build() { cmake -B build -S $pkgname-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ -DIPO_SUPPORTED=FALSE cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build }