[arch-commits] Commit in flint/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Fri Jun 5 17:57:10 UTC 2020
Date: Friday, June 5, 2020 @ 17:57:10
Author: arojas
Revision: 639176
archrelease: copy trunk to community-staging-x86_64
Added:
flint/repos/community-staging-x86_64/
flint/repos/community-staging-x86_64/PKGBUILD
(from rev 639175, flint/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: flint/repos/community-staging-x86_64/PKGBUILD (from rev 639175, flint/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-06-05 17:57:10 UTC (rev 639176)
@@ -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.6.0
+pkgrel=1
+pkgdesc="A C library for doing number theory"
+arch=(x86_64)
+url="http://www.flintlib.org"
+license=(GPL)
+depends=(mpfr ntl)
+makedepends=(cmake python)
+source=("http://www.flintlib.org/flint-$pkgver.tar.gz")
+sha256sums=('9089edadd12cbbda4533ab6f58efb7565fd973b5b82a89f53f64203bc3510840')
+
+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