[arch-commits] Commit in flint/repos (2 files)

Antonio Rojas arojas at archlinux.org
Mon Jun 21 07:09:29 UTC 2021


    Date: Monday, June 21, 2021 @ 07:09:29
  Author: arojas
Revision: 966397

archrelease: copy trunk to community-staging-x86_64

Added:
  flint/repos/community-staging-x86_64/
  flint/repos/community-staging-x86_64/PKGBUILD
    (from rev 966396, flint/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: flint/repos/community-staging-x86_64/PKGBUILD (from rev 966396, flint/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-06-21 07:09:29 UTC (rev 966397)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+# Contributor: Alessandro "jakedust" Andrioni <jakedust at gmail.com>
+
+pkgname=flint
+pkgver=2.7.1
+pkgrel=2
+pkgdesc='A C library for doing number theory'
+arch=(x86_64)
+url='http://www.flintlib.org'
+license=(GPL)
+depends=(mpfr ntl cblas)
+makedepends=(cmake python)
+source=(http://www.flintlib.org/flint-$pkgver.tar.gz)
+sha256sums=('186e2fd9ab67df8a05b122fb018269b382e4babcdb17353c4be1fe364dca481e')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_NTL=ON
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}



More information about the arch-commits mailing list