[arch-commits] Commit in gmp-ecm/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Nov 2 19:08:58 UTC 2020


    Date: Monday, November 2, 2020 @ 19:08:58
  Author: arojas
Revision: 740081

Update URL (FS#68507)

Modified:
  gmp-ecm/trunk/PKGBUILD

----------+
 PKGBUILD |   36 ++++++++++++++++++++----------------
 1 file changed, 20 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-02 19:03:33 UTC (rev 740080)
+++ PKGBUILD	2020-11-02 19:08:58 UTC (rev 740081)
@@ -1,31 +1,35 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
 # Contributor: Rémy Oudompheng <oudomphe at phare.normalesup.org>
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
 
 pkgname=gmp-ecm
 pkgver=7.0.4
 pkgrel=3
 pkgdesc='Elliptic Curve Method for Integer Factorization'
-url='https://ecm.gforge.inria.fr/'
-license=('GPL' 'LGPL')
-depends=('gmp')
-arch=('x86_64')
-source=("https://gforge.inria.fr/frs/download.php/file/36224/ecm-${pkgver}.tar.gz")
-sha256sums=('0cf7b3eee8462cc6f98b418b47630e1eb6b3f4f8c3fc1fb005b08e2a1811ba43')
+url='https://gitlab.inria.fr/zimmerma/ecm'
+license=(GPL LGPL)
+depends=(gmp)
+arch=(x86_64)
+source=("https://gitlab.inria.fr/zimmerma/ecm/-/archive/$pkgver/ecm-$pkgver.tar.gz")
+sha256sums=('6fc7147988205740e9339776396a581497ba3df9431a343bc1863859d47a8bb4')
 
+prepare() {
+  cd ecm-$pkgver
+  autoreconf -vi
+}
+
 build() {
-	cd "${srcdir}/ecm-${pkgver}"
-	[[ $CARCH = *86* ]] && export CFLAGS+=' -msse'
-	./configure --prefix=/usr --enable-shared --enable-openmp
-	# make ecm-params
-	make
+  cd ecm-$pkgver
+  ./configure --prefix=/usr --enable-shared --enable-openmp
+  make
 }
 
 check() {
-	cd "${srcdir}/ecm-${pkgver}"
-	make check
+  cd ecm-$pkgver
+  make check
 }
 
 package() {
-	cd "${srcdir}/ecm-${pkgver}"
-	make DESTDIR="${pkgdir}" install
+  cd ecm-$pkgver
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list