Date: Friday, June 24, 2022 @ 14:29:43
  Author: arojas
Revision: 1239342

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: flint/repos/community-staging-x86_64/PKGBUILD (from rev 1239341, 
flint/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-24 14:29:43 UTC (rev 1239342)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Rémy Oudompheng <[email protected]>
+# Contributor: Alessandro "jakedust" Andrioni <[email protected]>
+
+pkgname=flint
+pkgver=2.9.0
+pkgrel=1
+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=('2fc090d51033c93208e6c10d406397a53c983ae5343b958eb25f72a57a4ce76a')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_NTL=ON
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Reply via email to